Skip to content

Commit a48d7dc

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 9d728ba commit a48d7dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/esp32-hal-ledc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bool ledcAttachChannel(uint8_t pin, uint32_t freq, uint8_t resolution, uint8_t c
133133
ledc_timer.duty_resolution = resolution;
134134
ledc_timer.freq_hz = freq;
135135
ledc_timer.clk_cfg = clock_source;
136-
136+
137137
if (ledc_timer_config(&ledc_timer) != ESP_OK) {
138138
log_e("ledc setup failed!");
139139
return false;
@@ -149,7 +149,7 @@ bool ledcAttachChannel(uint8_t pin, uint32_t freq, uint8_t resolution, uint8_t c
149149
ledc_channel.intr_type = LEDC_INTR_DISABLE;
150150
ledc_channel.gpio_num = pin;
151151
ledc_channel.duty = duty;
152-
ledc_channel.hpoint = 0;
152+
ledc_channel.hpoint = 0;
153153

154154
ledc_channel_config(&ledc_channel);
155155
}

0 commit comments

Comments
 (0)