Skip to content

Commit

Permalink
support 4 channels
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Sep 25, 2024
1 parent ec29c21 commit 8688ed9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion firmware/heater_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ HeaterController heaterControllers[AFR_CHANNELS] =
{ 0, HEATER_PWM_CHANNEL_0 },

#if AFR_CHANNELS >= 2
{ 1, HEATER_PWM_CHANNEL_1 }
{ 1, HEATER_PWM_CHANNEL_1 },
#endif

#if AFR_CHANNELS >= 3
{ 1, HEATER_PWM_CHANNEL_2 },
#endif

#if AFR_CHANNELS >= 4
{ 1, HEATER_PWM_CHANNEL_3 },
#endif
};

Expand Down

0 comments on commit 8688ed9

Please sign in to comment.