Skip to content

Commit

Permalink
Fix regression on MC33810 units from af2815d
Browse files Browse the repository at this point in the history
  • Loading branch information
noisymime committed Dec 22, 2023
1 parent 7d817e3 commit 9acfacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speeduino/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9acfacb

Please sign in to comment.