mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-19 14:47:07 +01:00
Write back relay bit mask if RELAY_MODE_TOOGLE
This commit is contained in:
@@ -221,7 +221,8 @@ void relayRetrieve(bool invert) {
|
||||
bit += bit;
|
||||
}
|
||||
if (invert) {
|
||||
relaySave();
|
||||
EEPROM.write(0, mask);
|
||||
EEPROM.commit();
|
||||
}
|
||||
recursive = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user