Fix regression on MC33810 units from af2815d818
This commit is contained in:
parent
7d817e3cde
commit
9acfacba5c
|
@ -2997,7 +2997,7 @@ void setPinMapping(byte boardID)
|
|||
if( (ignitionOutputControl == OUTPUT_CONTROL_MC33810) || (injectorOutputControl == OUTPUT_CONTROL_MC33810) )
|
||||
{
|
||||
initMC33810();
|
||||
pinMode(LED_BUILTIN, OUTPUT); //This is required on as the LED pin can otherwise be reset to an input
|
||||
if( (LED_BUILTIN != SCK) && (LED_BUILTIN != MOSI) && (LED_BUILTIN != MISO) ) pinMode(LED_BUILTIN, OUTPUT); //This is required on as the LED pin can otherwise be reset to an input
|
||||
}
|
||||
|
||||
//CS pin number is now set in a compile flag.
|
||||
|
|
Loading…
Reference in New Issue