Added EEPROM force clear.

- When updating from v0.8, the settings will wipe the startup lines and
build info locations so that it won’t use whatever is already there in
the EEPROM. Parameters (coord offsets) are retained. They should be ok
during an upgrade.
This commit is contained in:
Sonny Jeon
2014-08-13 21:41:46 -06:00
parent 6fdf10ba06
commit 6af010fe63
2 changed files with 11 additions and 1 deletions

View File

@ -33,7 +33,7 @@
// Version of the EEPROM data. Will be used to migrate existing data from older versions of Grbl
// when firmware is upgraded. Always stored in byte 0 of eeprom
#define SETTINGS_VERSION 9
#define SETTINGS_VERSION 9 // NOTE: Check settings_reset() when moving to next version.
// Define bit flag masks for the boolean settings in settings.flag.
#define BITFLAG_REPORT_INCHES bit(0)