kopia lustrzana https://github.com/Hamlib/Hamlib
Need more parens to work in expressions.
Clean up sticky note items.pull/1476/head
rodzic
64f69421de
commit
7f67363687
|
@ -2489,13 +2489,13 @@ typedef hamlib_port_t port_t;
|
||||||
*/
|
*/
|
||||||
#else
|
#else
|
||||||
/* Define external unique names */
|
/* Define external unique names */
|
||||||
#define HAMLIB_RIGPORT(r) (hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_RIGPORT)
|
#define HAMLIB_RIGPORT(r) ((hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_RIGPORT))
|
||||||
#define HAMLIB_PTTPORT(r) (hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_PTTPORT)
|
#define HAMLIB_PTTPORT(r) ((hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_PTTPORT))
|
||||||
#define HAMLIB_DCDPORT(r) (hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_DCDPORT)
|
#define HAMLIB_DCDPORT(r) ((hamlib_port_t *)rig_data_pointer(r, RIG_PTRX_DCDPORT))
|
||||||
//#define HAMLIB_CACHE(r) (struct rig_cache *)rig_data_pointer(r, RIG_PTRX_CACHE)
|
#define HAMLIB_CACHE(r) ((struct rig_cache *)rig_data_pointer(r, RIG_PTRX_CACHE))
|
||||||
#define HAMLIB_AMPPORT(a) (hamlib_port_t *)amp_data_pointer(a, RIG_PTRX_AMPPORT)
|
#define HAMLIB_AMPPORT(a) ((hamlib_port_t *)amp_data_pointer(a, RIG_PTRX_AMPPORT))
|
||||||
#define HAMLIB_ROTPORT(r) (hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT)
|
#define HAMLIB_ROTPORT(r) ((hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT))
|
||||||
#define HAMLIB_ROTPORT2(r) (hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT2)
|
#define HAMLIB_ROTPORT2(r) ((hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT2))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -573,7 +573,7 @@ static int frontend_set_conf(RIG *rig, token_t token, const char *val)
|
||||||
}
|
}
|
||||||
|
|
||||||
// JTDX and WSJTX currently use state.pttport to check for PTT_NONE
|
// JTDX and WSJTX currently use state.pttport to check for PTT_NONE
|
||||||
rig->state.pttport.type.ptt = pttp->type.ptt;
|
// rig->state.pttport.type.ptt = pttp->type.ptt;
|
||||||
rs->pttport_deprecated.type.ptt = pttp->type.ptt;
|
rs->pttport_deprecated.type.ptt = pttp->type.ptt;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Ładowanie…
Reference in New Issue