kopia lustrzana https://github.com/Hamlib/Hamlib
Update Kenwood PS1 command to send PS1; twice instead of '\n' then PS1;
rodzic
ca53b02dcd
commit
e661642a7d
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue