We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d4bb12 + c3cfbc1 commit 4a65664Copy full SHA for 4a65664
ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c
@@ -71,6 +71,12 @@ uint8_t display_init_sequence[] = {
71
72
73
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
+
80
busio_spi_obj_t *spi = common_hal_board_create_spi(0);
81
displayio_fourwire_obj_t *bus = &displays[0].fourwire_bus;
82
bus->base.type = &displayio_fourwire_type;
0 commit comments