From 47050e8c5a6c937f63e470e3e4f2287f16b518bf Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 10 Dec 2020 21:33:33 -0800 Subject: [PATCH] un-flip logic --- firmware/fault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/fault.cpp b/firmware/fault.cpp index 0b7b00a..c315794 100644 --- a/firmware/fault.cpp +++ b/firmware/fault.cpp @@ -9,7 +9,7 @@ void setFault(Fault fault) bool hasFault() { - return currentFault == Fault::None; + return currentFault != Fault::None; } Fault getCurrentFault()