MRE meta
This commit is contained in:
parent
b3de217c1b
commit
3fb2df7a08
|
@ -13,7 +13,7 @@
|
|||
* MRE_BOARD_NEW_TEST
|
||||
* set engine_type 31
|
||||
*
|
||||
* See https://github.com/rusefi/rusefi/wiki/Hardware_microRusEfi_wiring
|
||||
* See https://github.com/rusefi/rusefi/wiki/Hardware-microRusEfi-wiring
|
||||
*
|
||||
* @author Matthew Kennedy, (c) 2019
|
||||
*/
|
||||
|
|
|
@ -22,3 +22,9 @@
|
|||
// tps = "20 - AN volt 5" PC3
|
||||
#define MRE_IN_ANALOG_VOLT_5 EFI_ADC_13
|
||||
#define MRE_IN_TPS MRE_IN_ANALOG_VOLT_5
|
||||
|
||||
// 26 - AN volt 2
|
||||
#define MRE_IN_ANALOG_VOLT_2 EFI_ADC_6
|
||||
|
||||
// "40 - AN volt 9"
|
||||
#define MRE_IN_ANALOG_VOLT_9 EFI_ADC_9
|
||||
|
|
|
@ -388,13 +388,13 @@ void setMiataNA6_MAP_MRE() {
|
|||
engineConfiguration->acSwitch = GPIOA_3;
|
||||
|
||||
// todo: ask Stefan to clarify this
|
||||
engineConfiguration->tps1_1AdcChannel = EFI_ADC_6; // "26 - AN volt 2"
|
||||
engineConfiguration->tps1_1AdcChannel = MRE_IN_ANALOG_VOLT_2; // "26 - AN volt 2"
|
||||
engineConfiguration->tpsMin = 0;
|
||||
engineConfiguration->tpsMax = 982;
|
||||
|
||||
engineConfiguration->map.sensor.hwChannel = EFI_ADC_13; // "20 - AN volt 5"
|
||||
engineConfiguration->map.sensor.hwChannel = MRE_IN_ANALOG_VOLT_5; // "20 - AN volt 5"
|
||||
|
||||
engineConfiguration->mafAdcChannel = EFI_ADC_9; // "40 - AN volt 9"
|
||||
engineConfiguration->mafAdcChannel = MRE_IN_ANALOG_VOLT_9; // "40 - AN volt 9"
|
||||
|
||||
#if (BOARD_TLE8888_COUNT > 0)
|
||||
// GPIOG_1: "Clutch Switch"
|
||||
|
|
Loading…
Reference in New Issue