mirror of https://github.com/rusefi/rusefi-1.git
miata NA6 progress
This commit is contained in:
parent
27d4ec6c74
commit
335a154a5a
|
@ -262,6 +262,10 @@ void setMiataNA6_MAP_Configuration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
boardConfiguration->clutchDownPin = GPIOA_3;
|
||||
boardConfiguration->clutchDownPinMode = PI_PULLUP;
|
||||
|
||||
|
||||
// 110mm red wire from 1N/W14 to bottom of W45
|
||||
engineConfiguration->throttlePedalUpPin = GPIOA_7;
|
||||
|
||||
// green wire from 1Q/W17 to bottom of W46
|
||||
engineConfiguration->acSwitchAdc = EFI_ADC_6; // PA6
|
||||
|
||||
|
|
|
@ -503,7 +503,7 @@ void startIdleThread(Logging*sharedLogger) {
|
|||
}
|
||||
|
||||
if (CONFIG(throttlePedalUpPin) != GPIO_UNASSIGNED) {
|
||||
efiSetPadMode("clutch up switch", CONFIG(throttlePedalUpPin),
|
||||
efiSetPadMode("throttle pedal up switch", CONFIG(throttlePedalUpPin),
|
||||
getInputMode(CONFIGB(throttlePedalUpPinMode)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue