Added changes for both ZUMspot duplex and dualband boards

This commit is contained in:
Abad-Vera 2019-09-19 16:39:49 -07:00
parent f96cd2af84
commit c34f5d511d
6 changed files with 146 additions and 20 deletions

View file

@ -312,6 +312,11 @@ uint8_t CSerialPort::setConfig(const uint8_t* data, uint8_t length)
DEBUG1("Full duplex not supported with this firmware");
return 6U;
}
#elif defined(DUPLEX) && defined(ZUMSPOT_ADF7021)
if (io.isDualBand() && m_duplex && m_calState == STATE_IDLE && modemState != STATE_DSTARCAL) {
DEBUG1("Full duplex is not supported on this board");
return 6U;
}
#endif
dstarTX.setTXDelay(txDelay);