Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

static int tt565_set_ptt ( RIG rig,
vfo_t  vfo,
ptt_t  ptt 
)

Set push to talk (Tx on/off)

Parameters:
rigmust != NULL
vfo
pttRIG_PTT_ON or RIG_PTT_OFF
Returns:
RIG_OK or < 0

Definition at line 805 of file orion.c.

References EOM, RIG_PTT_ON, rig_state::rigport, rig::state, and write_block().

{
      struct rig_state *rs = &rig->state;

      return write_block(&rs->rigport, 
                  ptt==RIG_PTT_ON ? "*TK" EOM:"*TU" EOM, 4);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index