From 267df89c5546eb71686a738d972c60973eecdb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Ebeling?= Date: Wed, 8 Nov 2023 23:50:06 +0100 Subject: [PATCH] Clear stock- emergency if CoverUI get unplugged --- Firmware/LowLevel/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/LowLevel/src/main.cpp b/Firmware/LowLevel/src/main.cpp index 1d50487d..010d2f19 100644 --- a/Firmware/LowLevel/src/main.cpp +++ b/Firmware/LowLevel/src/main.cpp @@ -722,6 +722,7 @@ void loop() { status_message.status_bitmask &= ~LL_STATUS_BIT_UI_AVAIL; ui_version = 0; ui_get_version_respond_timeout = 0; + stock_ui_emergency_state = 0; // Ensure that a stock-emergency state doesn't remain active if the UI got unplugged } if (now > ui_get_version_next_millis) {