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;