Logo Search packages:      
Sourcecode: hamlib version File versions

static int tt565_set_ts ( RIG rig,
vfo_t  vfo,
shortfreq_t  ts 
)

Set Tuning Step for VFO A or B.

Parameters:
rig must != NULL
vfo 
ts Tuning Step, Hz
Returns:
RIG_OK or < 0

Definition at line 645 of file orion.c.

References EOM, tt565_transaction(), and which_receiver().

{
      int cmd_len, retval;
      char cmdbuf[TT565_BUFSIZE];

      cmd_len = sprintf(cmdbuf, "*R%cI%d" EOM,
                        which_receiver(rig, vfo),
                        (int)ts);

      retval = tt565_transaction (rig, cmdbuf, cmd_len, NULL, NULL);

      return retval;
}


Generated by  Doxygen 1.6.0   Back to index