From c8ee7433025b9c8e86f44cf3cdc3e99c4415577b Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Tue, 1 Nov 2022 11:47:02 -0500 Subject: [PATCH] update so lcd MISO (unused) configuration does not pollute any other pins --- components/box-emu-hal/src/spi_lcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/box-emu-hal/src/spi_lcd.cpp b/components/box-emu-hal/src/spi_lcd.cpp index 4027cb1d..6b9bd7c1 100644 --- a/components/box-emu-hal/src/spi_lcd.cpp +++ b/components/box-emu-hal/src/spi_lcd.cpp @@ -148,7 +148,7 @@ extern "C" void lcd_init() { } master = std::make_unique(idf::SPINum(SPI2_HOST), idf::MOSI(6), - idf::MISO(18), + idf::MISO(48), // this is the same as the reset pin... idf::SCLK(7), idf::SPI_DMAConfig::AUTO(), idf::SPITransferSize(pixel_buffer_size * sizeof(lv_color_t)));