Skip to content

Commit 5166e58

Browse files
author
dave
committed
minor fix
1 parent b62583e commit 5166e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tcMenu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class MenuManager {
223223
* before each write we check if the value has actually changed.
224224
* @param magicKey the key that indicates the values are valid.
225225
*/
226-
void save(uint16_t magicKey = 0xfade) { if(eepromRef) saveMenuStructure(eepromRef); }
226+
void save(uint16_t magicKey = 0xfade) { if(eepromRef) saveMenuStructure(eepromRef, magicKey); }
227227

228228
/**
229229
* Call to save all item values into eeprom. The magic key is saved at location 0 if not already set. This is a

0 commit comments

Comments
 (0)