mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-05 22:35:26 +00:00
Fix power level bit length for ADF7021
This commit is contained in:
parent
840462fafe
commit
00b58cf795
3 changed files with 12 additions and 8 deletions
2
IO.cpp
2
IO.cpp
|
|
@ -269,7 +269,7 @@ bool CIO::hasRXOverflow()
|
|||
uint8_t CIO::setFreq(uint32_t frequency_rx, uint32_t frequency_tx, uint8_t rf_power)
|
||||
{
|
||||
// Configure power level
|
||||
m_power = rf_power;
|
||||
setPower(rf_power);
|
||||
|
||||
// Check frequency ranges
|
||||
if( !( ((frequency_rx >= VHF1_MIN)&&(frequency_rx < VHF1_MAX)) || ((frequency_tx >= VHF1_MIN)&&(frequency_tx < VHF1_MAX)) || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue