Fix power_min/max segfault

pull/1626/head
Mike Black W9MDB 2024-09-25 22:35:16 -05:00
rodzic 23e373b99d
commit 0b12c5cfff
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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);
}

Wyświetl plik

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