console tx_mode without reboot

This commit is contained in:
MichaelDvP
2023-12-08 19:15:05 +01:00
parent 443050ae28
commit 6c3e5d976c
2 changed files with 2 additions and 0 deletions

View File

@@ -346,6 +346,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
return StateUpdateResult::CHANGED;
},
"local");
to_app(shell).uart_init();
});
//

View File

@@ -216,6 +216,7 @@ void EMSESP::uart_init() {
}
txservice_.start(); // sends out request to EMS bus for all devices
txservice_.tx_mode(tx_mode);
// force a fetch for all new values, unless Tx is set to off
if (tx_mode != 0) {