فهرست منبع

extruder variable should be one byte

Saves 1 byte of SRAM and 132 bytes of flash
Guðni Már Gilbert 2 سال پیش
والد
کامیت
0d64cfa2e5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Firmware/mmu2.h

+ 1 - 1
Firmware/mmu2.h

@@ -241,7 +241,7 @@ private:
     bool WaitForMMUReady();
 
     ProtocolLogic logic; ///< implementation of the protocol logic layer
-    int extruder; ///< currently active slot in the MMU ... somewhat... not sure where to get it from yet
+    uint8_t extruder; ///< currently active slot in the MMU ... somewhat... not sure where to get it from yet
     uint8_t previous_extruder; ///< last active slot in the MMU, useful for M600
     uint8_t tool_change_extruder; ///< only used for UI purposes