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

Function ars_close

rotators/ars/ars.c:214–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214int
215ars_close(ROT *rot)
216{
217 struct ars_priv_data *priv = (struct ars_priv_data *)ROTSTATE(rot)->priv;
218
219 pthread_cancel(priv->thread);
220
221 /* leave it in safe state */
222 ars_stop(rot);
223
224 return RIG_OK;
225}
226
227int
228ars_stop(ROT *rot)

Callers

nothing calls this directly

Calls 2

pthread_cancelFunction · 0.85
ars_stopFunction · 0.85

Tested by

no test coverage detected