Skip to content

Commit e097f03

Browse files
authored
Revert "Fixing interrupts in LEDC (espressif#6160)"
This reverts commit a593206.
1 parent 6a7bcab commit e097f03

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: cores/esp32/esp32-hal-ledc.c

-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ void ledcAttachPin(uint8_t pin, uint8_t chan)
168168
.hpoint = 0
169169
};
170170
ledc_channel_config(&ledc_channel);
171-
172-
pinMode(pin,OUTPUT);
173171
}
174172

175173
void ledcDetachPin(uint8_t pin)

0 commit comments

Comments
 (0)