Skip to content

Commit 8ffefb3

Browse files
authored
Update esp32-hal-ledc.c
1 parent d5c1877 commit 8ffefb3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cores/esp32/esp32-hal-ledc.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ void ledcAttachPin(uint8_t pin, uint8_t chan)
168168
.hpoint = 0
169169
};
170170
ledc_channel_config(&ledc_channel);
171-
172-
//Making attachInterrupt to work.
173-
//WILL BE REMOVED AFTER REFACTORING GPIO to use ESP-IDF API
174-
//#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
175-
//pinMode(pin,OUTPUT);
176-
//#endif
177171
}
178172

179173
void ledcDetachPin(uint8_t pin)

0 commit comments

Comments
 (0)