mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Change rigctl_parse to use ENTERFUNC2 instead of ENTERFUNC
https://github.com/Hamlib/Hamlib/issues/695
This commit is contained in:
parent
300c0c415a
commit
12384c7796
@ -168,7 +168,7 @@ const char hamlib_copyright[231] = /* hamlib 1.2 ABI specifies 231 bytes */
|
|||||||
#define CHECK_RIG_ARG(r) (!(r) || !(r)->caps || !(r)->state.comm_state)
|
#define CHECK_RIG_ARG(r) (!(r) || !(r)->caps || !(r)->state.comm_state)
|
||||||
#define CHECK_RIG_CAPS(r) (!(r) || !(r)->caps)
|
#define CHECK_RIG_CAPS(r) (!(r) || !(r)->caps)
|
||||||
|
|
||||||
#define LOCK if (rig->state.depth == 1) { rig_debug(RIG_DEBUG_ERR, "%s: lock!! *******************************************\n", __func__); }
|
#define LOCK if (rig->state.depth == 0) { rig_debug(RIG_DEBUG_ERR, "%s: lock!! *******************************************\n", __func__); }
|
||||||
|
|
||||||
#ifdef PTHREAD
|
#ifdef PTHREAD
|
||||||
#define MUTEX(var) static pthread_mutex_t var = PTHREAD_MUTEX_INITIALIZER
|
#define MUTEX(var) static pthread_mutex_t var = PTHREAD_MUTEX_INITIALIZER
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user