Skip to content

Commit 20f1fd3

Browse files
committed
Merge branch 'master' of https://github.com/davetcc/tcMenuLib
2 parents b557047 + 5166e58 commit 20f1fd3

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)