mirror of https://github.com/FOME-Tech/fome-fw.git
Default GPPWM note
This commit is contained in:
parent
b5f0c2955a
commit
da9639ff5d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue