Skip to content

Commit 8613b9a

Browse files
authored
Trim Trailing Whitespace
was causing pre-commit checks to fail
1 parent 2db113f commit 8613b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/esp32s2/common-hal/pwmio/PWMOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ pwmout_result_t common_hal_pwmio_pwmout_construct(pwmio_pwmout_obj_t *self,
128128
if (ledc_channel_config(&(self->chan_handle))) {
129129
return PWMOUT_INITIALIZATION_ERROR;
130130
}
131-
131+
132132
// check the frequency -- 0 is not valid
133133
// maybe also want to reject frequency > system_clock / 2 ??
134134
if (frequency == 0) {
135135
return PWMOUT_INVALID_FREQUENCY;
136136
}
137-
137+
138138
// Make reservations
139139
reserved_timer_freq[timer_index] = frequency;
140140
reserved_channels[channel_index] = timer_index;

0 commit comments

Comments
 (0)