miata NA6 progress

This commit is contained in:
rusEfi 2019-07-21 20:11:12 -04:00
parent 27d4ec6c74
commit 335a154a5a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)));
}