Fix get_powerstat in kenwood.c to reset err to RIG_OK

https://github.com/Hamlib/Hamlib/issues/242
pull/252/head
Michael Black W9MDB 2020-05-08 15:44:14 -05:00
rodzic 3fecc5d91e
commit 320b25525d
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -717,6 +717,7 @@ int kenwood_open(RIG *rig)
rig_debug(RIG_DEBUG_TRACE, "%s: got PS0 so powerup\n", __func__);
rig_set_powerstat(rig, 1);
}
err = RIG_OK; // reset our err back to OK for later checks
}
if (err == -RIG_ETIMEOUT)

Wyświetl plik

@ -27,7 +27,7 @@
#include <string.h>
#include "token.h"
#define BACKEND_VER "20200501"
#define BACKEND_VER "20200508"
#define EOM_KEN ';'
#define EOM_TH '\r'