From 59a452ac2744f67136cc652ce18f1eb7777abc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 23 Oct 2022 15:40:59 +0000 Subject: [PATCH] PFW-1397 minor comment tweaks --- Firmware/mmu2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/mmu2.h b/Firmware/mmu2.h index c931445ef..0d2954984 100644 --- a/Firmware/mmu2.h +++ b/Firmware/mmu2.h @@ -193,7 +193,7 @@ public: // Called by the MMU protocol when a sent button is acknowledged. void DecrementRetryAttempts(); - /// increments tool change counter in EEPROM + /// Updates toolchange counter in EEPROM /// ATmega2560 EEPROM has only 100'000 write/erase cycles /// so we can't call this function on every tool change. void update_tool_change_counter_eeprom(); @@ -201,6 +201,7 @@ public: /// @return count for toolchange in current print inline uint16_t read_toolchange_counter() const { return toolchange_counter; }; + /// Set toolchange counter to zero inline void reset_toolchange_counter() { toolchange_counter = 0; }; private: