File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
adafruit_feather_esp32s2_tft Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ uint8_t display_init_sequence[] = {
51
51
};
52
52
53
53
void board_init (void ) {
54
- busio_spi_obj_t * spi = common_hal_board_create_spi ();
54
+ busio_spi_obj_t * spi = common_hal_board_create_spi (0 );
55
55
displayio_fourwire_obj_t * bus = & displays [0 ].fourwire_bus ;
56
56
bus -> base .type = & displayio_fourwire_type ;
57
57
common_hal_displayio_fourwire_construct (bus ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void board_init(void) {
78
78
gpio_set_direction (21 , GPIO_MODE_DEF_OUTPUT );
79
79
gpio_set_level (21 , true);
80
80
81
- busio_spi_obj_t * spi = common_hal_board_create_spi ();
81
+ busio_spi_obj_t * spi = common_hal_board_create_spi (0 );
82
82
displayio_fourwire_obj_t * bus = & displays [0 ].fourwire_bus ;
83
83
bus -> base .type = & displayio_fourwire_type ;
84
84
You can’t perform that action at this time.
0 commit comments