tiny piece of mock adc remove (#3890)

* tiny piece

* remove commands
This commit is contained in:
Matthew Kennedy 2022-02-03 16:32:56 -08:00 committed by GitHub
parent 0e6f006d58
commit 88d51a0c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 11 deletions

View File

@ -1007,11 +1007,6 @@ struct command_f_s {
const command_f_s commandsF[] = {
#if EFI_ENGINE_CONTROL
#if EFI_ENABLE_MOCK_ADC
{MOCK_MAF_COMMAND, setMockMafVoltage},
{MOCK_AFR_COMMAND, setMockAfrVoltage},
{MOCK_MAP_COMMAND, setMockMapVoltage},
#endif // EFI_ENABLE_MOCK_ADC
{"injection_offset", setInjectionOffset},
{"global_trigger_offset_angle", setGlobalTriggerAngleOffset},
{"global_fuel_correction", setGlobalFuelCorrection},

View File

@ -1650,9 +1650,6 @@ cyl_trim_s[12 iterate] fuelTrims
uint16_t[CRANKING_CURVE_SIZE] crankingFuelCoefE100;;"ratio", 0.01, 0, 0, 50, 2
end_struct
#define MOCK_MAP_COMMAND "mock_map_voltage"
#define MOCK_AFR_COMMAND "mock_afr_voltage"
#define MOCK_MAF_COMMAND "mock_maf_voltage"
! Pedal Position Sensor
#define MOCK_PPS_POSITION_COMMAND "mock_pps_position"
#define MOCK_PPS_VOLTAGE_COMMAND "mock_pps_voltage"

View File

@ -410,8 +410,6 @@ public class CommonFunctionalTest extends RusefiTestBase {
ecu.sendCommand("set_fuel_map 2000 4 15.66");
ecu.sendCommand("set_fuel_map 2200 4.2 15.66");
ecu.sendCommand("set_fuel_map 2000 4.2 15.66");
// mock 2 means 4 on the gauge because of the divider. should we simplify this?
ecu.sendCommand("set " + MOCK_MAF_COMMAND + " 2");
sendComplexCommand("set global_trigger_offset_angle 175");
chart = nextChart();
assertWaveNotNull(msg + " fuel", chart, EngineChart.INJECTOR_1);
@ -438,7 +436,6 @@ public class CommonFunctionalTest extends RusefiTestBase {
assertWaveNotNull(chart, EngineChart.SPARK_2);
// switching to Speed Density
ecu.sendCommand("set mock_maf_voltage 2");
sendComplexCommand("set algorithm 3");
ecu.changeRpm(2400);
ecu.changeRpm(2000);