Restore parameters minor bug fix.

- `$RST=#` was not wiping the G30 positions from EEPROM. Minor but now
fixed.
This commit is contained in:
Sonny Jeon
2015-06-25 15:05:47 -06:00
parent 81505e6a81
commit cc38ae2471
3 changed files with 29 additions and 3 deletions

View File

@ -1,3 +1,29 @@
----------------
Date: 2015-06-20
Author: Sonny Jeon
Subject: New EEPROM restore functions.
- Tweaked the previous EEPROM restore implementation and added new
functionality.
- `$RST=$` restores the `$$` grbl settings back to firmware defaults,
which are set when compiled.
- `$RST=#` restores the `$#` parameters in EEPROM. At times its useful
to clear these and start over, rather than manually writing each entry.
-`$RST=*` wipe all of the data in EEPROM that Grbl uses and restores
them to defaults. This includes `$$` settings, `$#` parameters, `$N`
startup lines, and `$i` build info string.
NOTE: This doesnt write zeros throughout the EEPROM. It only writes
where Grbl looks for data. For a complete wipe, please use the Arduino
IDEs EEPROM clear example.
- Refactored the restore and wipe functions in settings.c to
accommodate the new commands.
----------------
Date: 2015-06-18
Author: Sonny Jeon