Skip to content

Commit

Permalink
Merge pull request #155 from royh99/PwmTim3_fix
Browse files Browse the repository at this point in the history
Fix PwmTim3 no outputting PWM

I did not know it did not work like that.
  • Loading branch information
Tom-evnut authored Feb 1, 2025
2 parents 9533afb + 6b4135c commit 4fb4a24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hwinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ void tim3_setup()
// General purpose pwm output. Push/pull driven to +12v/gnd. Timer 3 Chan 2 PA7.
// General purpose pwm output. Push/pull driven to +12v/gnd. Timer 3 Chan 1 PA6.
////////////////////////////////////////////////////////////////////////
bool CPspoofPres,GS450hOil = 0;
bool CPspoofPres = 0;
bool GS450hOil = 0;
///PWM3
if (Param::GetInt(Param::PWM3Func) == IOMatrix::PWM_TIM3)
{
Expand Down

0 comments on commit 4fb4a24

Please sign in to comment.