diff --git a/Firmware/mmu.cpp b/Firmware/mmu.cpp index 0faf3fa8c..914164856 100644 --- a/Firmware/mmu.cpp +++ b/Firmware/mmu.cpp @@ -459,9 +459,9 @@ void manage_response(bool move_axes, bool turn_off_nozzle, uint8_t move) { response = mmu_get_response(move); //wait for "ok" from mmu if (!response) { //no "ok" was received in reserved time frame, user will fix the issue on mmu unit - eeprom_update_byte((uint8_t*)EEPROM_MMU_FAIL, eeprom_read_byte((uint8_t*)EEPROM_MMU_FAIL) + 1); - eeprom_update_word((uint16_t*)EEPROM_MMU_FAIL_TOT, eeprom_read_word((uint16_t*)EEPROM_MMU_FAIL_TOT) + 1); if (!mmu_print_saved) { //first occurence, we are saving current position, park print head in certain position and disable nozzle heater + eeprom_update_byte((uint8_t*)EEPROM_MMU_FAIL, eeprom_read_byte((uint8_t*)EEPROM_MMU_FAIL) + 1); + eeprom_update_word((uint16_t*)EEPROM_MMU_FAIL_TOT, eeprom_read_word((uint16_t*)EEPROM_MMU_FAIL_TOT) + 1); if (lcd_update_enabled) { lcd_update_was_enabled = true; lcd_update_enable(false);