Replies: 3 comments 5 replies
-
I'm not sure what you mean by out of range, couldn't it only be out of range if it were set to a value that were out of range. For initial setup purposes, the EEPROM values will only ever be loaded if the magic number is stored in the first two positions matches what's expected. Further, if sized-based checking is enabled, it will not attempt to load back any values beyond the previously stored size. You can read about this more in the documentation: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/menu-eeprom-integrations/ |
Beta Was this translation helpful? Give feedback.
-
I had my eeprom range for tcmenu reserved from 0-199. From 200 on i used it directly for other stuff. Now my Tcmenu stuff did outgrow the size, so i moved my own stuff to 300+ and tcmenu added at sometime above 200 (or me adding new items to tcmenu) I was just wondering during tracing my 4.1 upgrade problems, but in fact it was not related. |
Beta Was this translation helpful? Give feedback.
-
I recommend everyone uses size-based EEPROM unless a legacy reason prevents it. It was explicitly created for this situation. As per the documentation linked above. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
One Q raised during bug tracking. What happens when there is a value in the Eeprom which is out of range in regards to the linked menu item? Is tcmenu failsafe here?
Beta Was this translation helpful? Give feedback.
All reactions