kopia lustrzana https://github.com/Hamlib/Hamlib
Fix power_min/max segfault
rodzic
23e373b99d
commit
0b12c5cfff
|
@ -3064,8 +3064,8 @@ static int kenwood_get_power_minmax(RIG *rig, int *power_now, int *power_min,
|
|||
__func__);
|
||||
// return the last values we got
|
||||
*power_now = rs->power_now;
|
||||
*power_min = rs->power_min;
|
||||
*power_max = rs->power_max;
|
||||
if (power_min) *power_min = rs->power_min;
|
||||
if (power_max) *power_max = rs->power_max;
|
||||
RETURNFUNC(RIG_OK);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "token.h"
|
||||
#include "idx_builtin.h"
|
||||
|
||||
#define BACKEND_VER "20240919"
|
||||
#define BACKEND_VER "20240925"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
|
Ładowanie…
Reference in New Issue