Add back second call to prusa_statistics(8) when farm_mode is enabled.

Adds 18 bytes of flash
This commit is contained in:
Guðni Már Gilbert 2022-02-09 07:30:50 +00:00
parent caf496e996
commit c4f1023924

View File

@ -1439,6 +1439,12 @@ void setup()
enable_z(); enable_z();
#endif #endif
if (farm_mode) {
// The farm monitoring SW may accidentally expect
// 2 messages of "printer started" to consider a printer working.
prusa_statistics(8);
}
// Enable Toshiba FlashAir SD card / WiFi enahanced card. // Enable Toshiba FlashAir SD card / WiFi enahanced card.
card.ToshibaFlashAir_enable(eeprom_read_byte((unsigned char*)EEPROM_TOSHIBA_FLASH_AIR_COMPATIBLITY) == 1); card.ToshibaFlashAir_enable(eeprom_read_byte((unsigned char*)EEPROM_TOSHIBA_FLASH_AIR_COMPATIBLITY) == 1);