(2x) speed increase in printFloat() function. Decimal places setting added.

- printFloat() function execution doubled in speed. This is a precursor
to status reporting, since GUIs may query real-time position rapidly.

- Decimal places added to settings (for now). This may disappear in
future pushes, but here for testing purposes.
This commit is contained in:
Sonny Jeon
2012-10-11 22:43:54 -06:00
parent d8ca4176bf
commit 9b4e108905
3 changed files with 44 additions and 22 deletions

View File

@ -29,7 +29,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 51
#define SETTINGS_VERSION 52
// Define bit flag masks in settings.flag.
#define FLAG_BIT_HOMING_ENABLE bit(0)
@ -52,6 +52,7 @@ typedef struct {
float homing_seek_rate;
uint16_t homing_debounce_delay;
uint8_t stepper_idle_lock_time;
uint8_t decimal_places;
} settings_t;
extern settings_t settings;