Skip to content

Commit

Permalink
update so lcd MISO (unused) configuration does not pollute any other …
Browse files Browse the repository at this point in the history
…pins
  • Loading branch information
finger563 committed Nov 1, 2022
1 parent 876f392 commit c8ee743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/box-emu-hal/src/spi_lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ extern "C" void lcd_init() {
}
master = std::make_unique<idf::SPIMaster>(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)));
Expand Down

0 comments on commit c8ee743

Please sign in to comment.