Skip to content

Commit

Permalink
Fix get_powerstat status return to always show POWER_ON for kenwood n…
Browse files Browse the repository at this point in the history
…on-PS rigs

#1213
  • Loading branch information
mdblack98 committed Jan 9, 2023
1 parent 5f9fc93 commit eea9901
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions rigs/kenwood/kenwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion rigs/kenwood/kenwood.h
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit eea9901

Please sign in to comment.