From 80ef2686aec783b378db5771caf6b3377e0b3573 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 14 Mar 2019 18:17:40 +0100 Subject: [PATCH] mmu mode switching fix --- Firmware/mmu.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Firmware/mmu.cpp b/Firmware/mmu.cpp index 087753a6b..f82ea05af 100644 --- a/Firmware/mmu.cpp +++ b/Firmware/mmu.cpp @@ -339,7 +339,6 @@ void mmu_loop(void) else if ((eeprom_read_byte((uint8_t*)EEPROM_MMU_STEALTH) != SilentModeMenu_MMU) && mmu_ready) { DEBUG_PRINTF_P(PSTR("MMU <= 'M%d'\n"), SilentModeMenu_MMU); mmu_printf_P(PSTR("M%d\n"), SilentModeMenu_MMU); - mmu_ready = false; mmu_state = S::SwitchMode; } else if ((mmu_last_response + 300) < _millis()) //request every 300ms @@ -466,7 +465,6 @@ void mmu_loop(void) { DEBUG_PRINTF_P(PSTR("MMU => 'ok'\n")); eeprom_update_byte((uint8_t*)EEPROM_MMU_STEALTH, SilentModeMenu_MMU); - mmu_ready = true; mmu_state = S::Idle; } else if ((mmu_last_request + MMU_CMD_TIMEOUT) < _millis())