skip i2cscan after wakeup from sleep
This commit is contained in:
parent
93e194506f
commit
590cc9dd5c
@ -208,7 +208,8 @@ 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
|
||||||
i2c_scan();
|
if (RTC_runmode == RUNMODE_POWERCYCLE)
|
||||||
|
i2c_scan();
|
||||||
|
|
||||||
// initialize display
|
// initialize display
|
||||||
#ifdef HAS_DISPLAY
|
#ifdef HAS_DISPLAY
|
||||||
|
Loading…
Reference in New Issue
Block a user