Added debug message when reinitializing display.
This commit is contained in:
parent
d92b24e03a
commit
9545620ebf
|
@ -190,6 +190,7 @@ void Display::reInitializeDisplay() {
|
||||||
&& currentTime->getSeconds() < 60 - AVOID_REINIT_BEFORE_AND_AFTER_FULLMINUTE_FOR_s
|
&& currentTime->getSeconds() < 60 - AVOID_REINIT_BEFORE_AND_AFTER_FULLMINUTE_FOR_s
|
||||||
&& currentTime->getSeconds() > AVOID_REINIT_BEFORE_AND_AFTER_FULLMINUTE_FOR_s) {
|
&& currentTime->getSeconds() > AVOID_REINIT_BEFORE_AND_AFTER_FULLMINUTE_FOR_s) {
|
||||||
P.begin();
|
P.begin();
|
||||||
|
Serial.println("reinit display");
|
||||||
last_reinit_ts = millis();
|
last_reinit_ts = millis();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue