From eaf5c54bc5a4f2375641e7d620dd7445500867a8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 3 Jul 2021 09:48:59 -0400 Subject: [PATCH] Nissan VVT trigger decoder #2887 --- firmware/controllers/algo/engine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index 5dea000fe0..85752e860c 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -104,6 +104,7 @@ trigger_type_e getVvtTriggerType(vvt_mode_e vvtMode) { return TT_VVT_NISSAN_VQ; default: firmwareError(OBD_PCM_Processor_Fault, "getVvtTriggerType for %s", getVvt_mode_e(vvtMode)); + return TT_ONE; // we have to return something for the sake of -Werror=return-type } }