Convert all rig->state. references in src/rig.c to pointers.

Remove obsolete comment
Fix possible cppcheck squawks/errors after conversion from substructures
   to real pointers.
pull/1573/head
George Baltz N3GB 2024-07-01 16:25:08 -04:00
rodzic 00bc700ec1
commit 02102f60e4
2 zmienionych plików z 235 dodań i 185 usunięć

Wyświetl plik

@ -595,7 +595,6 @@ static int frontend_set_conf(RIG *rig, hamlib_token_t token, const char *val)
}
// JTDX and WSJTX currently use state.pttport to check for PTT_NONE
// rig->state.pttport.type.ptt = pttp->type.ptt;
rs->pttport_deprecated.type.ptt = pttp->type.ptt;
break;

419
src/rig.c

Plik diff jest za duży Load Diff