From e661642a7d5f094813d10e211079ec3d6fbedd98 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sun, 8 May 2022 06:36:50 -0500 Subject: [PATCH] Update Kenwood PS1 command to send PS1; twice instead of '\n' then PS1; --- rigs/yaesu/newcat.c | 4 ++-- rigs/yaesu/newcat.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index ca468a609..799ca3bbe 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -3270,8 +3270,8 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status) ps = '1'; // when powering on need a dummy byte to wake it up // then sleep from 1 to 2 seconds so we'll do 1.5 secs - write_block(&state->rigport, (unsigned char *) "\n", 1); - hl_usleep(1500000); + write_block(&state->rigport, (unsigned char *) "PS1;", 4); + hl_usleep(1200000); break; case RIG_POWER_OFF: diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index 3c1d1063a..6a67c34a3 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20220501" +#define NEWCAT_VER "20220508" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129