Commit 0cfc8af8 authored by MagoKimbra's avatar MagoKimbra

Fix read baudrate

parent c31e4d21
...@@ -266,6 +266,7 @@ void Config_RetrieveSettings() ...@@ -266,6 +266,7 @@ void Config_RetrieveSettings()
{ {
// version number match // version number match
EEPROM_READ_VAR(i,baudrate); EEPROM_READ_VAR(i,baudrate);
if(baudrate!=9600 && baudrate!=14400 && baudrate!=19200 && baudrate!=28800 && baudrate!=38400 && baudrate!=56000 && baudrate!=115200 && baudrate!=250000) baudrate=BAUDRATE;
EEPROM_READ_VAR(i,axis_steps_per_unit); EEPROM_READ_VAR(i,axis_steps_per_unit);
EEPROM_READ_VAR(i,max_feedrate); EEPROM_READ_VAR(i,max_feedrate);
EEPROM_READ_VAR(i,max_retraction_feedrate); EEPROM_READ_VAR(i,max_retraction_feedrate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment