Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead * remove dead * deflex
This commit is contained in:
parent
ad1a751a1e
commit
4aaf028251
|
@ -15,7 +15,6 @@ EXTERN_ENGINE;
|
||||||
void initSensors(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
void initSensors(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
initThermistors(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
initThermistors(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
initMapDecoder(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
initMapDecoder(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
initFlexFuelSensor();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasAcToggle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
bool hasAcToggle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include "voltage.h"
|
#include "voltage.h"
|
||||||
#include "thermistors.h"
|
#include "thermistors.h"
|
||||||
#include "oil_pressure.h"
|
#include "oil_pressure.h"
|
||||||
#include "flex_fuel.h"
|
|
||||||
#include "adc_inputs.h"
|
#include "adc_inputs.h"
|
||||||
|
|
||||||
#include "analog_input.h"
|
#include "analog_input.h"
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* @file flex_fuel.cpp
|
|
||||||
*
|
|
||||||
* GM 12568450
|
|
||||||
* GM 12570260
|
|
||||||
* GM 13577394
|
|
||||||
* GM 13577429
|
|
||||||
*
|
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
|
||||||
* @date Jan 22, 2018
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef CONTROLLERS_SENSORS_FLEX_FUEL_CPP_
|
|
||||||
#define CONTROLLERS_SENSORS_FLEX_FUEL_CPP_
|
|
||||||
|
|
||||||
#include "engine.h"
|
|
||||||
|
|
||||||
EXTERN_ENGINE
|
|
||||||
;
|
|
||||||
|
|
||||||
void initFlexFuelSensor() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* CONTROLLERS_SENSORS_FLEX_FUEL_CPP_ */
|
|
|
@ -1,13 +0,0 @@
|
||||||
/*
|
|
||||||
* @file flex_fuel.h
|
|
||||||
*
|
|
||||||
* @author Andrey Belomutskiy, (c) 2012-2018
|
|
||||||
* @date Jan 22, 2018
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef CONTROLLERS_SENSORS_FLEX_FUEL_H_
|
|
||||||
#define CONTROLLERS_SENSORS_FLEX_FUEL_H_
|
|
||||||
|
|
||||||
void initFlexFuelSensor();
|
|
||||||
|
|
||||||
#endif /* CONTROLLERS_SENSORS_FLEX_FUEL_H_ */
|
|
|
@ -10,5 +10,4 @@ CONTROLLERS_SENSORS_SRC_CPP = $(PROJECT_DIR)/controllers/sensors/thermistors.cp
|
||||||
$(PROJECT_DIR)/controllers/sensors/ego.cpp \
|
$(PROJECT_DIR)/controllers/sensors/ego.cpp \
|
||||||
$(PROJECT_DIR)/controllers/sensors/maf2map.cpp \
|
$(PROJECT_DIR)/controllers/sensors/maf2map.cpp \
|
||||||
$(PROJECT_DIR)/controllers/sensors/hip9011_lookup.cpp \
|
$(PROJECT_DIR)/controllers/sensors/hip9011_lookup.cpp \
|
||||||
$(PROJECT_DIR)/controllers/sensors/flex_fuel.cpp \
|
|
||||||
$(PROJECT_DIR)/controllers/sensors/oil_pressure.cpp
|
$(PROJECT_DIR)/controllers/sensors/oil_pressure.cpp
|
||||||
|
|
|
@ -981,7 +981,7 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300,
|
||||||
float[FSIO_CURVE_8] fsioCurve4Bins;;"x", 1, 0, -999, 1000.0, 3
|
float[FSIO_CURVE_8] fsioCurve4Bins;;"x", 1, 0, -999, 1000.0, 3
|
||||||
float[FSIO_CURVE_8] fsioCurve4;;"y", 1, 0, -999, 1000.0, 3
|
float[FSIO_CURVE_8] fsioCurve4;;"y", 1, 0, -999, 1000.0, 3
|
||||||
|
|
||||||
brain_input_pin_e flexFuelSensor;+This is the processor pin your Flex-fuel sensor is connected to, this is a non standard item so the pin will always be user defined.
|
uint8_t unusedFlexFuelSensor;
|
||||||
brain_pin_e test557pin
|
brain_pin_e test557pin
|
||||||
pin_output_mode_e stepperDirectionPinMode;
|
pin_output_mode_e stepperDirectionPinMode;
|
||||||
adc_channel_e externalKnockSenseAdc;
|
adc_channel_e externalKnockSenseAdc;
|
||||||
|
|
|
@ -1560,7 +1560,6 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
||||||
; Sensor Inputs
|
; Sensor Inputs
|
||||||
dialog = otherSensorInputs, "Other Sensor Inputs"
|
dialog = otherSensorInputs, "Other Sensor Inputs"
|
||||||
field = "Fuel level", fuelLevelSensor
|
field = "Fuel level", fuelLevelSensor
|
||||||
field = "Flex fuel", flexFuelSensor
|
|
||||||
field = "Clutch down switch", clutchDownPin
|
field = "Clutch down switch", clutchDownPin
|
||||||
field = "Clutch down inverted", clutchDownPinInverted
|
field = "Clutch down inverted", clutchDownPinInverted
|
||||||
field = "Clutch up switch", clutchUpPin
|
field = "Clutch up switch", clutchUpPin
|
||||||
|
|
Loading…
Reference in New Issue