support 4 channels

This commit is contained in:
Matthew Kennedy 2024-09-24 18:36:14 -07:00
parent ec29c21a84
commit 8688ed9e5e
1 changed files with 9 additions and 1 deletions

View File

@ -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
};