Default GPPWM note

This commit is contained in:
rusefillc 2022-08-27 15:17:14 -04:00
parent b5f0c2955a
commit da9639ff5d
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ void setDefaultGppwmParameters() {
// Same config for all channels
for (size_t i = 0; i < efi::size(engineConfiguration->gppwm); i++) {
auto& cfg = engineConfiguration->gppwm[i];
snprintf(engineConfiguration->gpPwmNote[i], sizeof(engineConfiguration->gpPwmNote[0]), "GPPWM%d", i);
cfg.pin = Gpio::Unassigned;
cfg.dutyIfError = 0;