File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 10
10
#define HAMLIB_FILPATHLEN FILPATHLEN
11
11
#endif
12
12
13
+ #ifndef RIG_IS_SOFT_ERRCODE
14
+ #define RIG_IS_SOFT_ERRCODE (errcode ) (errcode == RIG_EINVAL || errcode == RIG_ENIMPL || errcode == RIG_ERJCTED \
15
+ || errcode == RIG_ETRUNC || errcode == RIG_ENAVAIL || errcode == RIG_ENTARGET \
16
+ || errcode == RIG_EVFO || errcode == RIG_EDOM)
17
+
18
+ #endif
19
+
13
20
// macro introduced hamlib 4.6
14
21
#ifndef PTTPORT
15
22
#define PTTPORT (r ) (&r->state.pttport)
Original file line number Diff line number Diff line change 19
19
#define HAMLIB_FILPATHLEN FILPATHLEN
20
20
#endif
21
21
22
+ #ifndef RIG_IS_SOFT_ERRCODE
23
+ #define RIG_IS_SOFT_ERRCODE (errcode ) (errcode == RIG_EINVAL || errcode == RIG_ENIMPL || errcode == RIG_ERJCTED \
24
+ || errcode == RIG_ETRUNC || errcode == RIG_ENAVAIL || errcode == RIG_ENTARGET \
25
+ || errcode == RIG_EVFO || errcode == RIG_EDOM)
26
+
27
+ #endif
28
+
22
29
#define POOL_INTERVAL 500
23
30
24
31
MODULE_IDENTIFICATION (" qlog.rotator.driver.hamlibdrv" );
You can’t perform that action at this time.
0 commit comments