Change the handling of the mode LEDs.

This commit is contained in:
Jonathan Naylor 2020-08-31 16:06:59 +01:00
parent fb85505433
commit 632ddda68b
3 changed files with 30 additions and 16 deletions

View file

@ -103,7 +103,7 @@ const uint8_t MMDVM_DEBUG5 = 0xF5U;
#define HW_TYPE "MMDVM"
#endif
#define DESCRIPTION "20200714 (D-Star/DMR/System Fusion/P25/NXDN/POCSAG/FM)"
#define DESCRIPTION "20200831 (D-Star/DMR/System Fusion/P25/NXDN/POCSAG/FM)"
#if defined(GITVERSION)
#define concat(h, a, b, c) h " " a " " b " GitID #" c ""
@ -568,9 +568,7 @@ void CSerialPort::setMode(MMDVM_STATE modemState)
cwIdTX.reset();
m_modemState = modemState;
io.setMode();
io.setMode(modemState);
}
void CSerialPort::start()