Comment, spacing cleanup

This commit is contained in:
Scott Lahteine
2020-11-05 17:16:27 -06:00
parent dd92c79339
commit b643a07b66
11 changed files with 21 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ void set_pwm_frequency(const pin_t pin, int f_desired) {
PinName pin_name = digitalPinToPinName(pin);
TIM_TypeDef *Instance = (TIM_TypeDef *)pinmap_peripheral(pin_name, PinMap_PWM); // Get HAL timer instance
LOOP_S_L_N(i, 0, NUM_HARDWARE_TIMERS) // Protect used timers
if (timer_instance[i] && timer_instance[i]->getHandle()->Instance == Instance)
return;