From 293921e95a99247789bd792790912264513a4f61 Mon Sep 17 00:00:00 2001 From: Dmitry Galenko Date: Tue, 19 Apr 2022 22:37:04 +0200 Subject: [PATCH] Brother EP-44 support --- src/modules/esp32/SerialModule.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/modules/esp32/SerialModule.cpp b/src/modules/esp32/SerialModule.cpp index 20b41c418..46f778f87 100644 --- a/src/modules/esp32/SerialModule.cpp +++ b/src/modules/esp32/SerialModule.cpp @@ -93,6 +93,18 @@ int32_t SerialModule::runOnce() if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_Default) { baud = 38400; + + } else if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_110) { + baud = 110; + + } else if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_300) { + baud = 300; + + } else if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_600) { + baud = 600; + + } else if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_1200) { + baud = 1200; } else if (radioConfig.preferences.serial_module_baud == RadioConfig_UserPreferences_Serial_Baud_BAUD_2400) { baud = 2400;