auto-sync
This commit is contained in:
parent
da19e1b124
commit
b8ac239550
|
@ -18,6 +18,11 @@ void setCamaro4(DECLARE_ENGINE_PARAMETER_F) {
|
|||
engineConfiguration->specs.displacement = 5.7;
|
||||
engineConfiguration->specs.cylindersCount = 8;
|
||||
|
||||
engineConfiguration->specs.firingOrder = FO_1_8_7_2_6_5_4_3;
|
||||
|
||||
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||
engineConfiguration->trigger.type = TT_GM_LS_24;
|
||||
|
||||
engineConfiguration->map.sensor.hwChannel = EFI_ADC_0; // PA0
|
||||
|
||||
engineConfiguration->mafAdcChannel = EFI_ADC_NONE;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "engine_math.h"
|
||||
#include "board_test.h"
|
||||
#include "engine_controller.h"
|
||||
#include "maf.h"
|
||||
|
||||
/* Depth of the conversion buffer, channels are sampled X times each.*/
|
||||
#define ADC_BUF_DEPTH_SLOW 8
|
||||
|
@ -496,7 +497,9 @@ static void configureInputs(void) {
|
|||
memset(adcHwChannelUsage, 0, sizeof(adcHwChannelUsage));
|
||||
|
||||
addChannel("MAP", engineConfiguration->map.sensor.hwChannel, ADC_FAST);
|
||||
addChannel("MAF", engineConfiguration->mafAdcChannel, ADC_FAST);
|
||||
if (hasMafSensor()) {
|
||||
addChannel("MAF", engineConfiguration->mafAdcChannel, ADC_FAST);
|
||||
}
|
||||
addChannel("hip", engineConfiguration->hipOutputChannel, ADC_FAST);
|
||||
|
||||
addChannel("TPS", engineConfiguration->tpsAdcChannel, ADC_SLOW);
|
||||
|
|
|
@ -1071,7 +1071,7 @@ fileVersion = { 20160430 }
|
|||
; = expression, off-label, on-label, off-bg, off-fg, on-bg, on-fg
|
||||
; important status
|
||||
indicator = { ind_hasFatalError }, "", "FATAL ERROR", green, black, red, black
|
||||
indicator = { firmwareTsVersion == fileVersion }, "WRONG VERSION", "OK", red, black, green, black
|
||||
indicator = { firmwareTsVersion == fileVersion }, "WRONG VERSION", "version", red, black, green, black
|
||||
indicator = { ind_check_engine }, "ok", "Check engine", green, black, red, black
|
||||
indicator = { isIgnitionEnabledIndicator}, "no ignition", "ignition", red, black, green, black
|
||||
indicator = { ind_injection_enabled}, "no injection", "injection", red, black, green, black
|
||||
|
@ -1599,6 +1599,7 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
field = "!ECU reboot needed to apply these settings"
|
||||
field = "TPS ADC input", tpsAdcChannel
|
||||
field = "!todo: move MAF channel to maf curve dialog"
|
||||
field = "MAF enabled", hasMafSensor
|
||||
field = "MAF ADC input", mafAdcChannel
|
||||
field = "Baro ADC input", baroSensor_hwChannel
|
||||
field = "Analog divider", analogInputDividerCoefficient
|
||||
|
|
Loading…
Reference in New Issue