kopia lustrzana https://github.com/Hamlib/Hamlib
astyle files
rodzic
fa4fa7a1d9
commit
32460321ab
|
@ -1257,7 +1257,7 @@ int kenwood_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t txvfo)
|
|||
|
||||
// FR can turn off split on some Kenwood rigs
|
||||
// So we'll turn it back on just in case
|
||||
if (split && vfo_function=='0') { strcat(cmdbuf, ";FT1"); }
|
||||
if (split && vfo_function == '0') { strcat(cmdbuf, ";FT1"); }
|
||||
|
||||
retval = kenwood_transaction(rig, cmdbuf, NULL, 0);
|
||||
|
||||
|
|
|
@ -311,7 +311,7 @@ int ft736_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
*/
|
||||
switch (mode)
|
||||
{
|
||||
case RIG_MODE_CW: md = MD_CW; break;
|
||||
case RIG_MODE_CW: md = MD_CW; break;
|
||||
|
||||
case RIG_MODE_CWN: md = MD_CWN; break;
|
||||
|
||||
|
@ -319,7 +319,7 @@ int ft736_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
|
||||
case RIG_MODE_LSB: md = MD_LSB; break;
|
||||
|
||||
case RIG_MODE_FM: md = MD_FM; break;
|
||||
case RIG_MODE_FM: md = MD_FM; break;
|
||||
|
||||
case RIG_MODE_FMN: md = MD_FMN; break;
|
||||
|
||||
|
|
|
@ -2951,6 +2951,7 @@ int HAMLIB_API rig_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||
TRACE;
|
||||
|
||||
rc2 = RIG_OK;
|
||||
|
||||
if (!targetable_ptt)
|
||||
{
|
||||
rc2 = caps->set_vfo(rig, curr_vfo);
|
||||
|
|
Ładowanie…
Reference in New Issue