Refactor or add code comments fix #4555
This commit is contained in:
parent
45eaa0546c
commit
e89f553d55
|
@ -125,6 +125,7 @@ void writeToFlashIfPending() {
|
||||||
// Prevent sensor timeouts while flashing
|
// Prevent sensor timeouts while flashing
|
||||||
Sensor::inhibitTimeouts(true);
|
Sensor::inhibitTimeouts(true);
|
||||||
writeToFlashNow();
|
writeToFlashNow();
|
||||||
|
// we do not want to allow sensor timeouts right away, we re-enable next time method is invoked
|
||||||
}
|
}
|
||||||
|
|
||||||
// Erase and write a copy of the configuration at the specified address
|
// Erase and write a copy of the configuration at the specified address
|
||||||
|
|
Loading…
Reference in New Issue