From 91aa56786fe5c96585d8b59648dd19f27978ab1d Mon Sep 17 00:00:00 2001 From: Robert Vollmer Date: Thu, 13 Jun 2024 21:16:45 +0200 Subject: [PATCH] Fix typo --- Firmware/LowLevel/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/LowLevel/src/main.cpp b/Firmware/LowLevel/src/main.cpp index e5b526ca..06c5175a 100644 --- a/Firmware/LowLevel/src/main.cpp +++ b/Firmware/LowLevel/src/main.cpp @@ -156,7 +156,7 @@ void updateEmergency() { uint8_t emergency_state = 0; // Handle emergency "Stop" buttons - if (emergency_read && LL_EMERGENCY_BITS_STOP) { + if (emergency_read & LL_EMERGENCY_BITS_STOP) { // If we just pressed, store the timestamp if (button_emergency_started == 0) { button_emergency_started = millis();