Browse Source

Write back relay bit mask if RELAY_MODE_TOOGLE

fastled
Xose Pérez 8 years ago
parent
commit
9fa301e5be
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      code/espurna/relay.ino

+ 2
- 1
code/espurna/relay.ino View File

@ -221,7 +221,8 @@ void relayRetrieve(bool invert) {
bit += bit;
}
if (invert) {
relaySave();
EEPROM.write(0, mask);
EEPROM.commit();
}
recursive = false;
}


Loading…
Cancel
Save