Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#449 from Stefanowicz/Marlin_v1
Browse files Browse the repository at this point in the history
Fix: Build error when EEPROM_SETTINGS is defined and PIDTEMP is undefined
  • Loading branch information
daid committed Apr 12, 2013
2 parents c80a78b + 31bb3fb commit 84920e9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Marlin/ConfigurationStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ void Config_StoreSettings()
EEPROM_WRITE_VAR(i,Ki);
EEPROM_WRITE_VAR(i,Kd);
#else
EEPROM_WRITE_VAR(i,3000);
EEPROM_WRITE_VAR(i,0);
EEPROM_WRITE_VAR(i,0);
float dummy = 3000.0f;
EEPROM_WRITE_VAR(i,dummy);
dummy = 0.0f;
EEPROM_WRITE_VAR(i,dummy);
EEPROM_WRITE_VAR(i,dummy);
#endif
char ver2[4]=EEPROM_VERSION;
i=EEPROM_OFFSET;
Expand Down

0 comments on commit 84920e9

Please sign in to comment.