mirror of https://github.com/rusefi/rusefi.git
parent
cf4479f8d1
commit
8d332c2e08
|
@ -178,8 +178,11 @@ static const struct mc33810_config mc33810 = {
|
|||
/* ignition pre-drivers */
|
||||
[4] = {.port = GPIOA, .pad = 0},
|
||||
[5] = {.port = GPIOA, .pad = 1},
|
||||
[6] = {.port = nullptr, .pad = 0},
|
||||
[7] = {.port = nullptr, .pad = 0},
|
||||
//GPGD mode is not supported yet, ignition mode does not support spi on/off commands
|
||||
// so ignition signals should be directly driven
|
||||
[6] = {.port = GPIOD, .pad = 0},
|
||||
// meaning even if we do not use it we need a pin for now
|
||||
[7] = {.port = GPIOD, .pad = 1},
|
||||
},
|
||||
.en = {.port = GPIOA, .pad = 6}
|
||||
};
|
||||
|
|
|
@ -92,8 +92,8 @@ void setDiscovery33810Test() {
|
|||
|
||||
engineConfiguration->ignitionPins[0] = Gpio::MC33810_0_GD_0;
|
||||
engineConfiguration->ignitionPins[1] = Gpio::MC33810_0_GD_1;
|
||||
engineConfiguration->ignitionPins[2] = Gpio::Unassigned;
|
||||
engineConfiguration->ignitionPins[3] = Gpio::Unassigned;
|
||||
engineConfiguration->ignitionPins[2] = Gpio::MC33810_0_GD_2;
|
||||
engineConfiguration->ignitionPins[3] = Gpio::MC33810_0_GD_3;
|
||||
|
||||
engineConfiguration->cylindersCount = 2;
|
||||
engineConfiguration->firingOrder = FO_1_2;
|
||||
|
|
Loading…
Reference in New Issue