pull/495/head
Michael Black W9MDB 2021-01-07 22:14:27 -06:00
commit a15353ec4c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -995,7 +995,7 @@ int ft980_set_mem(RIG *rig, vfo_t vfo, int ch)
unsigned char cmd[YAESU_CMD_LENGTH] = { 0x00, 0x00, 0x00, 0x00, 0x0A };
struct ft980_priv_data *priv = (struct ft980_priv_data *)rig->state.priv;
if (ch >= 16 || ch < 1)
if (ch > 16 || ch < 1)
{
return -RIG_EINVAL;
}
@ -1021,4 +1021,3 @@ int ft980_get_mem(RIG *rig, vfo_t vfo, int *ch)
return RIG_OK;
}