Skip to content

Commit

Permalink
uncommented SPI on runes (srry guys)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardochust committed Jan 10, 2024
1 parent 71591b0 commit 88b3be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Src/Runes/Runes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ unordered_map<FDCAN_HandleTypeDef*, FDCAN::Instance*> FDCAN::handle_to_fdcan = {

SPI::Instance SPI::instance3 = { .SCK = &PC10, .MOSI = &PC12, .MISO = &PC11, .SS = &PD0,
.hspi = &hspi3, .instance = SPI3,
/*.hdma_tx = DMA::Stream::DMA1Stream5,
.hdma_tx = DMA::Stream::DMA1Stream5,
.hdma_rx = DMA::Stream::DMA1Stream6,
.baud_rate_prescaler = SPI_BAUDRATEPRESCALER_256,
.mode = SPI_MODE_SLAVE,*/
.mode = SPI_MODE_SLAVE,
};

SPI::Peripheral SPI::spi3 = SPI::Peripheral::peripheral3;
Expand Down

0 comments on commit 88b3be4

Please sign in to comment.