Try to fix compilation error
This commit is contained in:
parent
ec342dc557
commit
ce350cb353
@ -27,11 +27,8 @@
|
|||||||
#include "supervisor/board.h"
|
#include "supervisor/board.h"
|
||||||
#include "mpconfigboard.h"
|
#include "mpconfigboard.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
#include "shared-bindings/busio/SPI.h"
|
|
||||||
#include "shared-bindings/displayio/FourWire.h"
|
|
||||||
#include "shared-module/displayio/__init__.h"
|
#include "shared-module/displayio/__init__.h"
|
||||||
#include "shared-module/displayio/mipi_constants.h"
|
#include "shared-module/displayio/mipi_constants.h"
|
||||||
#include "supervisor/shared/board.h"
|
|
||||||
|
|
||||||
displayio_fourwire_obj_t board_display_obj;
|
displayio_fourwire_obj_t board_display_obj;
|
||||||
|
|
||||||
@ -77,8 +74,8 @@ static void display_init(void) {
|
|||||||
spi,
|
spi,
|
||||||
&pin_GPIO2, // CLK
|
&pin_GPIO2, // CLK
|
||||||
&pin_GPIO3, // MOSI
|
&pin_GPIO3, // MOSI
|
||||||
NULL // MISO not connected
|
NULL, // MISO not connected
|
||||||
);
|
false); // Not half-duplex
|
||||||
|
|
||||||
common_hal_busio_spi_never_reset(spi);
|
common_hal_busio_spi_never_reset(spi);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user