mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-08 15:53:44 +00:00
Added changes for both ZUMspot duplex and dualband boards
This commit is contained in:
parent
f96cd2af84
commit
c34f5d511d
6 changed files with 146 additions and 20 deletions
6
IO.cpp
6
IO.cpp
|
|
@ -351,6 +351,12 @@ uint8_t CIO::setFreq(uint32_t frequency_rx, uint32_t frequency_tx, uint8_t rf_po
|
|||
// Turn on UHF side
|
||||
io.setBandVHF(false);
|
||||
}
|
||||
} else if (!io.isDualBand()) {
|
||||
// Duplex board
|
||||
if ((frequency_tx < UHF1_MIN) || (frequency_rx < UHF1_MIN)) {
|
||||
// Reject VHF frequencies
|
||||
return 4U;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue