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,6 +208,7 @@ void setup() {
_ASSERT(loadConfig()); // includes initialize if necessary _ASSERT(loadConfig()); // includes initialize if necessary
// now that we are powered, we scan i2c bus for devices // now that we are powered, we scan i2c bus for devices
if (RTC_runmode == RUNMODE_POWERCYCLE)
i2c_scan(); i2c_scan();
// initialize display // initialize display