Skip to content

Commit

Permalink
Merge pull request #180 from and3rson/build_flags/sdspifromext/fix
Browse files Browse the repository at this point in the history
set correct pin values for USE_EXT_SPI_FOR_SD macro
  • Loading branch information
frostmorn authored Jan 1, 2025
2 parents 5ed677c + 7c85877 commit 778096e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/lib/lilka/src/lilka/spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void spi_begin() {
#if LILKA_VERSION == 1
SPI1.begin(LILKA_SPI_SCK, -1, LILKA_SPI_MOSI);
#else
SPI1.begin(LILKA_SPI_SCK, LILKA_SPI_MISO, LILKA_SPI_MOSI);
SPI1.begin(SPI2_SCK, SPI2_MISO, SPI2_MOSI);

#endif
#ifdef USE_EXT_SPI_FOR_SD
Expand Down

0 comments on commit 778096e

Please sign in to comment.