Set the modem state in SET_CONFIG.

This commit is contained in:
Jonathan Naylor 2020-05-02 17:37:47 +01:00
parent edddbedd4b
commit f8e119c26b
2 changed files with 2 additions and 2 deletions

View File

@ -85,6 +85,6 @@
// #define USE_ALTERNATE_POCSAG_LEDS
// Use the D-Star and YSF LEDs for FM
// #define USE_ALTERNATE_FM_LEDS
#define USE_ALTERNATE_FM_LEDS
#endif

View File

@ -329,7 +329,7 @@ uint8_t CSerialPort::setConfig(const uint8_t* data, uint8_t length)
uint8_t fmTXLevel = data[18U];
m_modemState = modemState;
setMode(modemState);
m_dstarEnable = dstarEnable;
m_dmrEnable = dmrEnable;