From b11c0024d1998d6e84582f1738412e1907e1e2b1 Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Mon, 6 Nov 2023 11:47:43 +0100 Subject: [PATCH] Update requested changes --- Firmware/Marlin_main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index bf887c254..436412c0d 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8582,13 +8582,13 @@ Sigma_Exit: /*! ### M709 - MMU power & reset M709: MMU power & reset - The MK3S cannot not power off the MMU, but we can en- and disable the MMU. + The MK3S cannot not power off the MMU, but we can en- and disable the MMU and will be also stored in EEPROM. #### Usage M709 [ S | X ] #### Parameters - - `X` - Reset MMU (0:soft reset | 1:hardware reset | 42: erease MMU eeprom) + - `X` - Reset MMU (0:soft reset | 1:hardware reset | 42: erase MMU eeprom) - `S` - En-/disable the MMU (0:off | 1:on) #### Example @@ -8610,9 +8610,11 @@ Sigma_Exit: switch (code_value_uint8()) { case 0: + eeprom_update_byte((uint8_t *)EEPROM_MMU_ENABLED, false); MMU2::mmu2.Stop(); break; case 1: + eeprom_update_byte((uint8_t *)EEPROM_MMU_ENABLED, true); MMU2::mmu2.Start(); break; default: