drivers: baseband: HR_C6000: renamed disableCtcss() to disableTones()
This commit is contained in:
parent
ac6127684a
commit
22dba93295
|
|
@ -75,9 +75,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disable CTCSS tone encode and decode.
|
* Disable all tone encode and decode.
|
||||||
*/
|
*/
|
||||||
inline void disableCtcss()
|
inline void disableTones()
|
||||||
{
|
{
|
||||||
writeCfgRegister(0xA1, 0x00); // Disable all tones
|
writeCfgRegister(0xA1, 0x00); // Disable all tones
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -341,7 +341,7 @@ void radio_enableTx()
|
||||||
if(config->txToneEn)
|
if(config->txToneEn)
|
||||||
C6000.setTxCtcss(config->txTone, 0x20);
|
C6000.setTxCtcss(config->txTone, 0x20);
|
||||||
else
|
else
|
||||||
C6000.disableCtcss();
|
C6000.disableTones();
|
||||||
|
|
||||||
FmConfig cfg = (config->bandwidth == BW_12_5) ? FmConfig::BW_12p5kHz
|
FmConfig cfg = (config->bandwidth == BW_12_5) ? FmConfig::BW_12p5kHz
|
||||||
: FmConfig::BW_25kHz;
|
: FmConfig::BW_25kHz;
|
||||||
|
|
@ -350,7 +350,7 @@ void radio_enableTx()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPMODE_M17:
|
case OPMODE_M17:
|
||||||
C6000.disableCtcss();
|
C6000.disableTones();
|
||||||
C6000.startAnalogTx(TxAudioSource::LINE_IN, FmConfig::BW_25kHz);
|
C6000.startAnalogTx(TxAudioSource::LINE_IN, FmConfig::BW_25kHz);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue