Optimise FanCheck initialisation when farm mode is on
Saves 12 bytes of flash memory (Arduino IDE 1.8.19)
This commit is contained in:
parent
19dc05597d
commit
caf496e996
@ -1117,8 +1117,7 @@ void setup()
|
||||
fsensor_autoload_set(false);
|
||||
#endif //FILAMENT_SENSOR
|
||||
// ~ FanCheck -> on
|
||||
if(!(eeprom_read_byte((uint8_t*)EEPROM_FAN_CHECK_ENABLED)))
|
||||
eeprom_update_byte((uint8_t*)EEPROM_FAN_CHECK_ENABLED,true);
|
||||
eeprom_update_byte((uint8_t*)EEPROM_FAN_CHECK_ENABLED, true);
|
||||
}
|
||||
|
||||
#ifdef TMC2130
|
||||
|
Loading…
Reference in New Issue
Block a user