mirror of https://github.com/arendst/Tasmota.git
Seriallog set to `SERIAL_LOG_LEVEL` at boot (#21363)
* Seriallog set to `SERIAL_LOG_LEVEL` at boot * Ensure seriallog has at least LOG_LEVEL_INFO at boot
This commit is contained in:
parent
7a9f60facc
commit
e6e15a214f
|
@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Internal macro `APP_SLEEP` to `TASMOTA_SLEEP` to specify default sleep in ms (#21324)
|
||||
- ESP32 Core3 platform update from 2024.04.12 to 2024.05.10 (#21347)
|
||||
- Refactor Tensorflow (#21327)
|
||||
- Seriallog set to `SERIAL_LOG_LEVEL` at boot
|
||||
|
||||
### Fixed
|
||||
- HASPmota `align` attribute and expand PNG cache (#21228)
|
||||
|
|
|
@ -427,7 +427,7 @@ void setup(void) {
|
|||
TasmotaGlobal.active_device = 1;
|
||||
TasmotaGlobal.global_state.data = 0xF; // Init global state (wifi_down, mqtt_down) to solve possible network issues
|
||||
TasmotaGlobal.maxlog_level = LOG_LEVEL_DEBUG_MORE;
|
||||
TasmotaGlobal.seriallog_level = LOG_LEVEL_INFO; // Allow specific serial messages until config loaded
|
||||
TasmotaGlobal.seriallog_level = (SERIAL_LOG_LEVEL > LOG_LEVEL_INFO) ? SERIAL_LOG_LEVEL : LOG_LEVEL_INFO; // Allow specific serial messages until config loaded and allow more logging than INFO
|
||||
TasmotaGlobal.power_latching = 0x80000000;
|
||||
|
||||
RtcRebootLoad();
|
||||
|
|
Loading…
Reference in New Issue