Fix get_powerstat status return to always show POWER_ON for kenwood non-PS rigs

https://github.com/Hamlib/Hamlib/issues/1213
pull/1215/head
Mike Black W9MDB 2023-01-09 10:28:43 -06:00
rodzic 89fadca3bd
commit d2ef9d5eda
3 zmienionych plików z 3 dodań i 1 usunięć

1
NEWS
Wyświetl plik

@ -26,6 +26,7 @@ Version 4.6
Version 4.5.4
* 2023-XX-XX
* Fix get_powerstat status return for non-PS kenwood rigs
* Fix set_powerstat 0 to reopen with IC-7300 (and others?) on Linux
* Fix FT-710 usage on 60M
* Fix timing on NRD-535D

Wyświetl plik

@ -4878,6 +4878,7 @@ int kenwood_get_powerstat(RIG *rig, powerstat_t *status)
if (!priv->has_ps)
{
*status = RIG_POWER_ON;
RETURNFUNC(RIG_OK); // fake the OK return for these rigs
}

Wyświetl plik

@ -29,7 +29,7 @@
#include "misc.h"
#include "idx_builtin.h"
#define BACKEND_VER "20221230"
#define BACKEND_VER "20230109"
#define EOM_KEN ';'
#define EOM_TH '\r'