new command style

This commit is contained in:
rusEfi 2018-01-03 15:38:08 -05:00
parent d3f8d05115
commit fdba6cdee8
3 changed files with 3 additions and 4 deletions

View File

@ -1128,6 +1128,7 @@ command_f_s commandsF[] = {{"mock_iat_voltage", setMockIatVoltage},
{"ignition_offset", setIgnitionOffset},
{"injection_offset", setInjectionOffset},
{"global_trigger_offset_angle", setGlobalTriggerAngleOffset},
{"global_fuel_correction", setGlobalFuelCorrection},
{"cranking_fuel", setCrankingFuel},
{"cranking_iac", setCrankingIACExtra},
{"cranking_timing_angle", setCrankingTimingAngle},
@ -1291,8 +1292,6 @@ void initSettings(void) {
addConsoleAction("tpsinfo", printTPSInfo);
addConsoleAction("info", printAllInfo);
addConsoleActionF("set_global_fuel_correction", setGlobalFuelCorrection);
addConsoleAction("set_one_coil_ignition", setOneCoilIgnition);
addConsoleAction("set_wasted_spark_ignition", setWastedIgnition);
addConsoleAction("set_individual_coils_ignition", setIndividualCoilsIgnition);

View File

@ -405,7 +405,7 @@ custom spi_device_e 4 bits,U32, @OFFSET@, [0:1], "Off", "SPI1", "SPI2", "SPI3"
spi_device_e hip9011SpiDevice;
float globalFuelCorrection;set_global_fuel_correction X;"coef", 1, 0.0, 0, 1000.0, 2
float globalFuelCorrection;set global_fuel_correction X;"coef", 1, 0.0, 0, 1000.0, 2
float adcVcc;; "volts", 1, 0.0, 0, 4.0, 3
float maxKnockSubDeg;maximum total number of degrees to subtract from ignition advance\nwhen knocking

View File

@ -263,5 +263,5 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0)
return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 20180101;
return 20180103;
}