From 4a9f4baa3a7dcb79ba4f48b6b81017f11c85fcfe Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 26 Aug 2024 20:16:38 -0400 Subject: [PATCH] more mcFaultToString --- pt2001/src/pt2001.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pt2001/src/pt2001.cpp b/pt2001/src/pt2001.cpp index fe3d8c0..03aa16a 100644 --- a/pt2001/src/pt2001.cpp +++ b/pt2001/src/pt2001.cpp @@ -415,8 +415,18 @@ const char * mcFaultToString(McFault fault) { switch (fault) { case McFault::NoComm: return "NoComm"; + case McFault::NoFlash: + return "NoFlash"; case McFault::UnderVoltageAfter: return "UnderVoltageAfter"; + case McFault::flag0: + return "flag0"; + case McFault::UnderVoltage5: + return "UnderVoltage5"; + case McFault::Driven: + return "Driven"; + case McFault::UnderVoltage7: + return "UnderVoltage7"; default: return "TODO"; }