소스 검색

PFW-1397 minor comment tweaks

Guðni Már Gilbert 2 년 전
부모
커밋
59a452ac27
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Firmware/mmu2.h

+ 2 - 1
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: