From 3aedc28bca4f5ae1a7e41058f3546922776c1952 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 22 Jun 2017 08:59:07 +0300 Subject: [PATCH] removing unused method --- firmware/controllers/map_averaging.cpp | 4 ---- firmware/controllers/sensors/map.h | 1 - 2 files changed, 5 deletions(-) diff --git a/firmware/controllers/map_averaging.cpp b/firmware/controllers/map_averaging.cpp index ae3e5d1ea7..75915b55d3 100644 --- a/firmware/controllers/map_averaging.cpp +++ b/firmware/controllers/map_averaging.cpp @@ -220,10 +220,6 @@ static void showMapStats(void) { scheduleMsg(logger, "per revolution %d", measurementsPerRevolution); } -float getMapVoltage(void) { - return v_averagedMapValue; -} - #if EFI_PROD_CODE || defined(__DOXYGEN__) /** diff --git a/firmware/controllers/sensors/map.h b/firmware/controllers/sensors/map.h index 7ad5ebcab5..8ec1a3fa2d 100644 --- a/firmware/controllers/sensors/map.h +++ b/firmware/controllers/sensors/map.h @@ -21,7 +21,6 @@ bool hasMapSensor(DECLARE_ENGINE_PARAMETER_SIGNATURE); * @return MAP value averaged within a window of measurement */ float getMap(void); -float getMapVoltage(void); float getMapByVoltage(float voltage DECLARE_ENGINE_PARAMETER_SUFFIX); float decodePressure(float voltage, air_pressure_sensor_config_s * mapConfig DECLARE_ENGINE_PARAMETER_SUFFIX); float validateMap(float mapKPa DECLARE_ENGINE_PARAMETER_SUFFIX);