From f8e119c26bd97b020f092decb4c9b0a2ee8b8adb Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sat, 2 May 2020 17:37:47 +0100 Subject: [PATCH] Set the modem state in SET_CONFIG. --- Config.h | 2 +- SerialPort.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config.h b/Config.h index a0e249f..73e716b 100644 --- a/Config.h +++ b/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 diff --git a/SerialPort.cpp b/SerialPort.cpp index dbe4d9e..8d6a6f9 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -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;