skip i2cscan after wakeup from sleep
This commit is contained in:
parent
93e194506f
commit
590cc9dd5c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user