mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
change tx_mode without needing a restart
This commit is contained in:
@@ -45,8 +45,6 @@ uuid::log::Logger System::logger_{F_(logger_name), uuid::log::Facility::KERN};
|
||||
uuid::syslog::SyslogService System::syslog_;
|
||||
#endif
|
||||
|
||||
EMSuart System::emsuart_;
|
||||
|
||||
#if defined(ESP8266)
|
||||
RTCVars System::state_;
|
||||
#endif
|
||||
@@ -170,7 +168,7 @@ void System::start() {
|
||||
if (safe_mode()) {
|
||||
} else {
|
||||
save_safe_mode(false); // next time boot up in normal mode
|
||||
emsuart_.start(settings.ems_tx_mode());
|
||||
EMSuart::start(settings.ems_tx_mode());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user