From 4faca85fdd427842ddcd7e2b9032f79b637dcb8b Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 21 Nov 2019 13:35:57 -0500 Subject: [PATCH] following the pattern --- firmware/controllers/actuators/electronic_throttle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 6b1da32a49..0d6388c862 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -86,7 +86,9 @@ #error "Unexpected OS ACCESS HERE" #endif +#ifndef ETB_MAX_COUNT #define ETB_MAX_COUNT 2 +#endif /* ETB_MAX_COUNT */ static bool shouldResetPid = false;