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
1 changed files with 1 additions and 2 deletions
|
@ -1117,7 +1117,6 @@ void setup()
|
||||||
fsensor_autoload_set(false);
|
fsensor_autoload_set(false);
|
||||||
#endif //FILAMENT_SENSOR
|
#endif //FILAMENT_SENSOR
|
||||||
// ~ FanCheck -> on
|
// ~ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue