mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2025-12-06 07:02:00 +01:00
Fix ADF7021 output power
This commit is contained in:
parent
d78777bdc2
commit
bf4d3fe021
2
IO.cpp
2
IO.cpp
|
|
@ -263,7 +263,7 @@ bool CIO::hasRXOverflow()
|
||||||
uint8_t CIO::setFreq(uint32_t frequency_rx, uint32_t frequency_tx)
|
uint8_t CIO::setFreq(uint32_t frequency_rx, uint32_t frequency_tx)
|
||||||
{
|
{
|
||||||
// power level
|
// power level
|
||||||
m_power = 0x20;
|
m_power = 0xFF;
|
||||||
|
|
||||||
if( !( ((frequency_rx >= VHF1_MIN)&&(frequency_rx < VHF1_MAX)) || ((frequency_tx >= VHF1_MIN)&&(frequency_tx < VHF1_MAX)) || \
|
if( !( ((frequency_rx >= VHF1_MIN)&&(frequency_rx < VHF1_MAX)) || ((frequency_tx >= VHF1_MIN)&&(frequency_tx < VHF1_MAX)) || \
|
||||||
((frequency_rx >= UHF1_MIN)&&(frequency_rx < UHF1_MAX)) || ((frequency_tx >= UHF1_MIN)&&(frequency_tx < UHF1_MAX)) || \
|
((frequency_rx >= UHF1_MIN)&&(frequency_rx < UHF1_MAX)) || ((frequency_tx >= UHF1_MIN)&&(frequency_tx < UHF1_MAX)) || \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue