Skip to content

Commit 6d394c2

Browse files
authored
Merge pull request #55 from Jason2866/revert-6160-master
Revert "Fixing interrupts in LEDC (espressif#6160)" which breaks PWM
2 parents 464d22d + e097f03 commit 6d394c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)