We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5ca325 commit c9d6f58Copy full SHA for c9d6f58
src/EEPROMRollingCodeStorage.cpp
@@ -10,7 +10,7 @@ uint16_t EEPROMRollingCodeStorage::nextCode() {
10
Serial.print("Rolling code: ");
11
Serial.println(code);
12
#endif
13
- EEPROM.put(address, code + 1);
+ EEPROM.put(address, (uint16_t)(code + 1));
14
#if defined(ESP32) || defined(ESP8266)
15
EEPROM.commit();
16
0 commit comments