Skip to content

Commit f994b11

Browse files
authored
Merge pull request #6909 from dhalbert/fesp32s2tft-remove-unneeded-code
Remove unneeded workaround for Feather ESP32-S2 TFT
2 parents 7914870 + 4df8a51 commit f994b11

File tree

1 file changed

+0
-6
lines changed
  • ports/espressif/boards/adafruit_feather_esp32s2_tft

1 file changed

+0
-6
lines changed

ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ uint8_t display_init_sequence[] = {
7171

7272

7373
void board_init(void) {
74-
// THIS SHOULD BE HANDLED BY espressif_board_reset_pin_number(), but it is not working.
75-
// TEMPORARY FIX UNTIL IT'S DIAGNOSED.
76-
common_hal_never_reset_pin(&pin_GPIO21);
77-
gpio_set_direction(21, GPIO_MODE_DEF_OUTPUT);
78-
gpio_set_level(21, true);
79-
8074
busio_spi_obj_t *spi = common_hal_board_create_spi(0);
8175
displayio_fourwire_obj_t *bus = &displays[0].fourwire_bus;
8276
bus->base.type = &displayio_fourwire_type;

0 commit comments

Comments
 (0)