Oops. need part of settings_init().
This commit is contained in:
parent
3ab9e6bd6e
commit
a27feeab51
@ -79,7 +79,7 @@ int main(void)
|
|||||||
isr_init(); // Set ISR priorities
|
isr_init(); // Set ISR priorities
|
||||||
delay_init(); // Setup delay timer
|
delay_init(); // Setup delay timer
|
||||||
serial_init(); // Setup serial baud rate and interrupts
|
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
|
current_init(); // Configure stepper driver current
|
||||||
stepper_init(); // Configure stepper pins and interrupt timers
|
stepper_init(); // Configure stepper pins and interrupt timers
|
||||||
system_init(); // Configure pinout pins and pin-change interrupt
|
system_init(); // Configure pinout pins and pin-change interrupt
|
||||||
|
@ -309,9 +309,9 @@ uint8_t settings_store_global_setting(uint8_t parameter, float value) {
|
|||||||
// Initialize the config subsystem
|
// Initialize the config subsystem
|
||||||
void settings_init() {
|
void settings_init() {
|
||||||
if(!read_global_settings()) {
|
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.
|
settings_restore(SETTINGS_RESTORE_ALL); // Force restore all EEPROM data.
|
||||||
report_grbl_settings();
|
//report_grbl_settings();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user