extruder variable should be one byte

Saves 1 byte of SRAM and 132 bytes of flash
This commit is contained in:
Guðni Már Gilbert 2022-08-19 22:15:17 +00:00 committed by D.R.racer
parent 87a4f58e66
commit 0d64cfa2e5
1 changed files with 1 additions and 1 deletions

View File

@ -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