explicit error for forgotten NBC

This commit is contained in:
rusefillc 2022-03-23 20:48:36 -04:00
parent d2c694c0b2
commit 2ec769c66d
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ void updateDash(CanCycle cycle) {
// Transmit dash data, if enabled // Transmit dash data, if enabled
switch (engineConfiguration->canNbcType) { switch (engineConfiguration->canNbcType) {
case CAN_BUS_NBC_NONE:
break;
case CAN_BUS_NBC_BMW: case CAN_BUS_NBC_BMW:
canDashboardBMW(cycle); canDashboardBMW(cycle);
break; break;