mirror of https://github.com/g4klx/MMDVM.git
Set the modem state in SET_CONFIG.
This commit is contained in:
parent
edddbedd4b
commit
f8e119c26b
2
Config.h
2
Config.h
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue