From 3950a6a17a649e2924ba645caa79715046f919d6 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 26 Sep 2024 16:16:37 -0700 Subject: [PATCH] cleanup --- firmware/controllers/actuators/alternator_controller.cpp | 4 ---- firmware/controllers/actuators/boost_control.cpp | 4 ---- firmware/controllers/actuators/electronic_throttle.cpp | 4 ---- firmware/controllers/math/speed_density.cpp | 4 ---- 4 files changed, 16 deletions(-) diff --git a/firmware/controllers/actuators/alternator_controller.cpp b/firmware/controllers/actuators/alternator_controller.cpp index 03f4cd9356..66c7433e1d 100644 --- a/firmware/controllers/actuators/alternator_controller.cpp +++ b/firmware/controllers/actuators/alternator_controller.cpp @@ -14,10 +14,6 @@ #include "efi_pid.h" #include "local_version_holder.h" -#if defined(HAS_OS_ACCESS) -#error "Unexpected OS ACCESS HERE" -#endif /* HAS_OS_ACCESS */ - static SimplePwm alternatorControl("alt"); static Pid alternatorPid(&persistentState.persistentConfiguration.engineConfiguration.alternatorControl); diff --git a/firmware/controllers/actuators/boost_control.cpp b/firmware/controllers/actuators/boost_control.cpp index dd78a5ce22..7c8d97b10a 100644 --- a/firmware/controllers/actuators/boost_control.cpp +++ b/firmware/controllers/actuators/boost_control.cpp @@ -13,10 +13,6 @@ #define NO_PIN_PERIOD 500 -#if defined(HAS_OS_ACCESS) -#error "Unexpected OS ACCESS HERE" -#endif - static Map3D boostMapOpen; static Map3D boostMapClosed; static SimplePwm boostPwmControl("boost"); diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 3222fa4be5..2e3d23e258 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -61,10 +61,6 @@ #include "dc_motors.h" #include "defaults.h" -#if defined(HAS_OS_ACCESS) -#error "Unexpected OS ACCESS HERE" -#endif - #if HW_PROTEUS #include "proteus_meta.h" #endif // HW_PROTEUS diff --git a/firmware/controllers/math/speed_density.cpp b/firmware/controllers/math/speed_density.cpp index af8c02ce91..89919cd9de 100644 --- a/firmware/controllers/math/speed_density.cpp +++ b/firmware/controllers/math/speed_density.cpp @@ -9,10 +9,6 @@ #include "pch.h" -#if defined(HAS_OS_ACCESS) -#error "Unexpected OS ACCESS HERE" -#endif - #define rpmMin 500 #define rpmMax 8000