From af24ccae706281ccbb5fd4d84d7244acf95b7f0b Mon Sep 17 00:00:00 2001 From: rusEfi Date: Mon, 5 Jan 2015 23:03:38 -0600 Subject: [PATCH] auto-sync --- firmware/config/engines/dodge_neon.cpp | 3 ++- firmware/controllers/engine_controller.cpp | 1 + firmware/hw_layer/HIP9011.cpp | 2 +- firmware/rusefi.cpp | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/firmware/config/engines/dodge_neon.cpp b/firmware/config/engines/dodge_neon.cpp index e113d8eaf9..27287e59d9 100644 --- a/firmware/config/engines/dodge_neon.cpp +++ b/firmware/config/engines/dodge_neon.cpp @@ -316,6 +316,7 @@ void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfigurat boardConfiguration->adcHwChannelEnabled[1] = ADC_SLOW; boardConfiguration->adcHwChannelEnabled[4] = ADC_SLOW; boardConfiguration->adcHwChannelEnabled[6] = ADC_FAST; + boardConfiguration->adcHwChannelEnabled[10] = ADC_SLOW; // HIP9011 boardConfiguration->adcHwChannelEnabled[11] = ADC_SLOW; // IAT boardConfiguration->adcHwChannelEnabled[12] = ADC_SLOW; // CLT boardConfiguration->adcHwChannelEnabled[13] = ADC_SLOW; // AFR @@ -349,7 +350,7 @@ void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfigurat engineConfiguration->map.sensor.sensorType = MT_DODGE_NEON_2003; #if EFI_PROD_CODE -// setHip9011FrankensoPinout(); + setHip9011FrankensoPinout(); #endif engineConfiguration->cylinderBore = 87.5; diff --git a/firmware/controllers/engine_controller.cpp b/firmware/controllers/engine_controller.cpp index 8fbcf68900..4c0c6ceb43 100644 --- a/firmware/controllers/engine_controller.cpp +++ b/firmware/controllers/engine_controller.cpp @@ -251,6 +251,7 @@ static void printAnalogChannelInfo(const char *name, adc_channel_e hwChannel) { } static void printAnalogInfo(void) { + printAnalogChannelInfo("hip9011", EFI_ADC_10); printAnalogChannelInfo("TPS", engineConfiguration->tpsAdcChannel); printAnalogChannelInfo("CLT", engineConfiguration->cltAdcChannel); if (engineConfiguration->hasIatSensor) { diff --git a/firmware/hw_layer/HIP9011.cpp b/firmware/hw_layer/HIP9011.cpp index a6880e38cd..bfbf298a9a 100644 --- a/firmware/hw_layer/HIP9011.cpp +++ b/firmware/hw_layer/HIP9011.cpp @@ -164,7 +164,7 @@ void setHip9011FrankensoPinout(void) { * SPI on PB13/14/15 */ boardConfiguration->isHip9011Enabled = true; - boardConfiguration->hip9011CsPin = GPIOD_11; + boardConfiguration->hip9011CsPin = GPIOD_0; boardConfiguration->hip9011IntHoldPin = GPIOB_11; boardConfiguration->is_enabled_spi_2 = true; } diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 27555c20f8..19abe338bd 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -264,5 +264,5 @@ int getRusEfiVersion(void) { return 1; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE == 0) return 1; // this is here to make the compiler happy about the unused array - return 20150104; + return 20150105; }