Update Kenwood PS1 command to send PS1; twice instead of '\n' then PS1;

pull/1024/head
Mike Black W9MDB 2022-05-08 06:36:50 -05:00
rodzic ca53b02dcd
commit e661642a7d
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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:

Wyświetl plik

@ -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