mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Need more parens to work in expressions.
Clean up sticky note items.
This commit is contained in:
parent
64f69421de
commit
7f67363687
@ -2489,13 +2489,13 @@ typedef hamlib_port_t port_t;
|
||||
*/
|
||||
#else
|
||||
/* Define external unique names */
|
||||
#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_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_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_ROTPORT2(r) (hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT2)
|
||||
#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_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_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_ROTPORT2(r) ((hamlib_port_t *)rot_data_pointer(r, RIG_PTRX_ROTPORT2))
|
||||
#endif
|
||||
|
||||
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
|
||||
rig->state.pttport.type.ptt = pttp->type.ptt;
|
||||
// rig->state.pttport.type.ptt = pttp->type.ptt;
|
||||
rs->pttport_deprecated.type.ptt = pttp->type.ptt;
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user