Fix another mingw compile warning on rotorez.c

pull/1289/head
Mike Black W9MDB 2023-05-07 16:44:43 -05:00
rodzic 5648e587a8
commit 5d130be05c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -356,7 +356,7 @@ const struct rot_caps rt21_rot_caps =
ROT_MODEL(ROT_MODEL_RT21),
.model_name = "RT-21",
.mfg_name = "Green Heron",
.version = "20230430.0",
.version = "20230507.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rot_type = ROT_TYPE_OTHER,
@ -906,7 +906,7 @@ static int rt21_rot_get_position(ROT *rot, azimuth_t *azimuth,
*azimuth = tmp;
if (rot->state.rotport2.pathname != NULL)
if (strlen(rot->state.rotport2.pathname) > 0)
{
err = rotorez_send_priv_cmd2(rot, "BI1;");