Skip to content

Commit

Permalink
Reduced startup time and power consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Feb 9, 2025
1 parent c9247d1 commit 0f97571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BresserWeatherSensorLW.ino
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,11 @@ void setup()
M5.begin(cfg);
#endif

#if CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
Serial.begin(115200);
Serial.setDebugOutput(true);
delay(2000); // give time to switch to the serial monitor
#endif
log_i("Setup");

String timeZoneInfo(TZ_INFO);
Expand Down

0 comments on commit 0f97571

Please sign in to comment.