From 53623142ddbce5dc839d4a68dae9710fab72157e Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 23 Mar 2022 19:44:55 -0400 Subject: [PATCH] explicit error for forgotten NBC --- firmware/controllers/can/can_dash.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/can/can_dash.cpp b/firmware/controllers/can/can_dash.cpp index f728c6ab6d..1279106194 100644 --- a/firmware/controllers/can/can_dash.cpp +++ b/firmware/controllers/can/can_dash.cpp @@ -128,7 +128,9 @@ void updateDash(CanCycle cycle) { break; case CAN_AIM_DASH: canDashboardAim(cycle); + break; default: + firmwareError(OBD_PCM_Processor_Fault, "Nothing for canNbcType %s", getCan_nbc_e(engineConfiguration->canNbcType)); break; } }