code style

This commit is contained in:
rusefi 2020-10-21 22:13:18 -04:00
parent 2a64162b43
commit 9060aff46c
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@ void initGpPwm(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
auto& cfg = CONFIG(gppwm)[i]; auto& cfg = CONFIG(gppwm)[i];
// If no pin, don't enable this channel. // If no pin, don't enable this channel.
if (cfg.pin == GPIO_UNASSIGNED) continue; if (cfg.pin == GPIO_UNASSIGNED) {
continue;
}
// Determine frequency and whether PWM is enabled // Determine frequency and whether PWM is enabled
float freq = cfg.pwmFrequency; float freq = cfg.pwmFrequency;