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.
1 parent a0b482c commit c48bb75Copy full SHA for c48bb75
ports/espressif/boards/waveshare_esp32_s3_geek/board.c
@@ -30,17 +30,17 @@ uint8_t display_init_sequence[] = {
30
};
31
32
static void display_init(void) {
33
-
34
- busio_spi_obj_t *spi = common_hal_board_create_spi(0);
35
fourwire_fourwire_obj_t *bus = &allocate_display_bus()->fourwire_bus;
+ busio_spi_obj_t *spi = &bus->inline_bus;
36
37
common_hal_busio_spi_construct(
38
spi,
39
&pin_GPIO12, // CLK
40
&pin_GPIO11, // MOSI
41
NULL, // MISO not connected
42
- false); // Not half-duplex
43
+ false // Not half-duplex
+ );
+ common_hal_busio_spi_never_reset(spi);
44
45
bus->base.type = &fourwire_fourwire_type;
46
0 commit comments