diff --git a/firmware/init/sensor/init_fuel_level.cpp b/firmware/init/sensor/init_fuel_level.cpp index a92e91e512..ccac70d874 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)>; @@ -31,4 +30,3 @@ void initFuelLevel() { AdcSubscription::SubscribeSensor(fuelSensor, channel, /*lowpassCutoff =*/ 0.05f); fuelSensor.Register(); } -#endif // ! EFI_UNIT_TEST diff --git a/firmware/init/sensor/init_maf.cpp b/firmware/init/sensor/init_maf.cpp index 50417e4a4f..dff09bfa12 100644 --- a/firmware/init/sensor/init_maf.cpp +++ b/firmware/init/sensor/init_maf.cpp @@ -8,7 +8,7 @@ static FunctionalSensor maf (SensorType::Maf , /* timeout = */ MS2NT(50)); static FunctionalSensor maf2(SensorType::Maf2, /* timeout = */ MS2NT(50)); -#if !EFI_UNIT_TEST + // extract the type of the elements in the bin/value arrays using BinType = std::remove_extent_tmafDecodingBins)>; using ValueType = std::remove_extent_tmafDecoding)>; @@ -31,4 +31,3 @@ void initMaf() { initMaf(engineConfiguration->mafAdcChannel, maf); initMaf(engineConfiguration->maf2AdcChannel, maf2); } -#endif // ! EFI_UNIT_TEST diff --git a/firmware/init/sensor/init_sensors.cpp b/firmware/init/sensor/init_sensors.cpp index 833f165f4c..6b2d86e2c2 100644 --- a/firmware/init/sensor/init_sensors.cpp +++ b/firmware/init/sensor/init_sensors.cpp @@ -123,10 +123,8 @@ void initNewSensors() { initEgt(); initBaro(); - #if !EFI_UNIT_TEST - initFuelLevel(); - initMaf(); - #endif + initFuelLevel(); + initMaf(); initOldAnalogInputs(); initAuxDigital();