Commit 1e688202 authored by natalie's avatar natalie 💜
Browse files

Fix erroneous loglevel change at boot

parent 18f0fd04
......@@ -590,7 +590,7 @@ void app_main(void) {
LcdDma_Mutex_Give();
OptionsMgr_Setup();
MAIN_PROGRESS_UPDATE;
if (IoExp_PowerOnKeys & ((1<<KEY_LEFT) | (1<<KEY_RIGHT) | (1<<KEY_A))) {
if ((IoExp_PowerOnKeys & (1<<KEY_LEFT)) && (IoExp_PowerOnKeys & (1<<KEY_RIGHT)) && (IoExp_PowerOnKeys & (1<<KEY_A))) {
ESP_LOGE(TAG, "/!\\ SETTING LOGLEVEL TO ESP_LOG_INFO! /!\\");
logmgr_loglevel = 1;
logmgr_update_loglevel();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment