From a27feeab51470b6f328bd9bd65d6cd1e43918374 Mon Sep 17 00:00:00 2001 From: Todd Fleming Date: Mon, 9 Jan 2017 06:38:22 -0500 Subject: [PATCH] Oops. need part of settings_init(). --- grbl/main.c | 2 +- grbl/settings.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grbl/main.c b/grbl/main.c index 3de2a83..37d0704 100644 --- a/grbl/main.c +++ b/grbl/main.c @@ -79,7 +79,7 @@ int main(void) isr_init(); // Set ISR priorities delay_init(); // Setup delay timer serial_init(); // Setup serial baud rate and interrupts - //settings_init(); // Load Grbl settings from EEPROM + settings_init(); // Load Grbl settings from EEPROM current_init(); // Configure stepper driver current stepper_init(); // Configure stepper pins and interrupt timers system_init(); // Configure pinout pins and pin-change interrupt diff --git a/grbl/settings.c b/grbl/settings.c index e170d6a..f19c0a7 100644 --- a/grbl/settings.c +++ b/grbl/settings.c @@ -309,9 +309,9 @@ uint8_t settings_store_global_setting(uint8_t parameter, float value) { // Initialize the config subsystem void settings_init() { if(!read_global_settings()) { - report_status_message(STATUS_SETTING_READ_FAIL); + //report_status_message(STATUS_SETTING_READ_FAIL); settings_restore(SETTINGS_RESTORE_ALL); // Force restore all EEPROM data. - report_grbl_settings(); + //report_grbl_settings(); } }