MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / rig_get_lock_mode

Function rig_get_lock_mode

src/rig.c:9062–9077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9060}
9061
9062HAMLIB_EXPORT(int) rig_get_lock_mode(RIG *rig, int *mode)
9063{
9064 int retcode;
9065
9066 if (rig->caps->get_lock_mode)
9067 {
9068 retcode = rig->caps->get_lock_mode(rig, mode);
9069 }
9070 else
9071 {
9072 *mode = STATE(rig)->lock_mode;
9073 retcode = RIG_OK;
9074 }
9075
9076 return (retcode);
9077}
9078
9079HAMLIB_EXPORT(int) rig_is_model(RIG *rig, rig_model_t model)
9080{

Callers 2

rig_set_modeFunction · 0.85
rigctl_parse.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected