diff --git a/firmware/init/sensor/init_fuel_level.cpp b/firmware/init/sensor/init_fuel_level.cpp index 57593c8376..89746fed6a 100644 --- a/firmware/init/sensor/init_fuel_level.cpp +++ b/firmware/init/sensor/init_fuel_level.cpp @@ -7,7 +7,6 @@ static FunctionalSensor fuelSensor(SensorType::FuelLevel, /* timeout = */ MS2NT(500)); -#if !EFI_UNIT_TEST // extract the type of the elements in the bin/value arrays using BinType = std::remove_extent_tfuelLevelBins)>; using ValueType = std::remove_extent_tfuelLevelValues)>; @@ -27,4 +26,3 @@ void initFuelLevel() { AdcSubscription::SubscribeSensor(fuelSensor, channel, /*lowpassCutoff =*/ 0.05f); fuelSensor.Register(); } -#endif // ! EFI_UNIT_TEST diff --git a/firmware/init/sensor/init_sensors.cpp b/firmware/init/sensor/init_sensors.cpp index 80607052e3..0315ffdf15 100644 --- a/firmware/init/sensor/init_sensors.cpp +++ b/firmware/init/sensor/init_sensors.cpp @@ -68,10 +68,8 @@ void initNewSensors() { initBaro(); initAuxSpeedSensors(); - #if !EFI_UNIT_TEST - initFuelLevel(); - initMaf(); - #endif + initFuelLevel(); + initMaf(); initAuxDigital();