41 |
|
|
42 |
#if WANT_HAMLIB |
#if WANT_HAMLIB |
43 |
# include <hamlib/rig.h> |
# include <hamlib/rig.h> |
44 |
|
# include "hamlib-utils.h" |
45 |
#endif |
#endif |
46 |
|
|
47 |
gint statusbartimer; |
gint statusbartimer; |
64 |
extern gchar *searchpx; |
extern gchar *searchpx; |
65 |
|
|
66 |
#if WANT_HAMLIB |
#if WANT_HAMLIB |
|
extern gint hamlibtimer; |
|
|
extern RIG *myrig; |
|
67 |
extern GList *riglist; |
extern GList *riglist; |
68 |
#endif |
#endif |
69 |
|
|
227 |
savehistory (); |
savehistory (); |
228 |
|
|
229 |
#if WANT_HAMLIB |
#if WANT_HAMLIB |
230 |
|
if (preferences.hamlib > 0) |
231 |
|
stop_hamlib (); |
232 |
if (riglist) |
if (riglist) |
233 |
g_list_free (riglist); |
g_list_free (riglist); |
|
if (hamlibtimer != -1) |
|
|
g_source_remove (hamlibtimer); |
|
|
if (preferences.hamlib > 0) |
|
|
{ |
|
|
rig_close ((RIG *) myrig); |
|
|
rig_cleanup ((RIG *) myrig); |
|
|
} |
|
234 |
#endif |
#endif |
235 |
|
|
236 |
if (prefixes) |
if (prefixes) |