Merge pull request #107 from veraabad/master

ZUMspot Duplex and Dualband Code Changes
This commit is contained in:
Andy CA6JAU 2019-12-01 15:06:14 -03:00 committed by GitHub
commit 506a514d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 307 additions and 63 deletions

View file

@ -317,6 +317,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);