More tweaks. Removed dry run. Trimmed all messages to save flash space.

- Removed the dry run switch. It was getting overly complicated for
what it needed to do. In practice, single block mode and feed rate
overrides (coming in next release) does a much better job with dry runs
than 'dry run'.

- Trimmed all of Grbl's messages from help, status, feedback to
settings. Saved 0.6KB+ of flash space that could be used for v0.9
features.

- Removed some settings inits when set. Will depend on user to power
cycle to get some of these to reload.

- Fixed a bug with settings version not re-writing old settings, when
it should. Thanks Alden!
This commit is contained in:
Sonny Jeon
2012-11-07 20:53:03 -07:00
parent e2e794af45
commit 5e7a4b3ba8
8 changed files with 97 additions and 147 deletions

View File

@ -64,10 +64,10 @@
// Define bit flag masks for gc.switches. (8 flag limit)
#define BITFLAG_CHECK_GCODE bit(0)
#define BITFLAG_DRY_RUN bit(1)
#define BITFLAG_BLOCK_DELETE bit(2)
#define BITFLAG_SINGLE_BLOCK bit(3)
#define BITFLAG_OPT_STOP bit(4)
#define BITFLAG_BLOCK_DELETE bit(1)
#define BITFLAG_SINGLE_BLOCK bit(2)
#define BITFLAG_OPT_STOP bit(3)
// #define bit(4)
// #define bit(5)
// #define bit(6)
// #define bit(7)