skip i2cscan after wakeup from sleep

This commit is contained in:
cyberman54 2020-12-16 18:54:38 +01:00
parent 93e194506f
commit 590cc9dd5c

View File

@ -208,7 +208,8 @@ void setup() {
_ASSERT(loadConfig()); // includes initialize if necessary
// now that we are powered, we scan i2c bus for devices
i2c_scan();
if (RTC_runmode == RUNMODE_POWERCYCLE)
i2c_scan();
// initialize display
#ifdef HAS_DISPLAY