Skip to content

Commit

Permalink
more mcFaultToString
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Aug 27, 2024
1 parent c732810 commit 4a9f4ba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pt2001/src/pt2001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 4a9f4ba

Please sign in to comment.