Post-bootloader EFL/SPI fixes. (#17661)
* Fixup read address for EFL driver. * Fixup sequencing of SPI. * Lock during init of EFL backing store.
This commit is contained in:
parent
2a0d490eb3
commit
dc70ba612a
2 changed files with 4 additions and 2 deletions
|
@ -46,7 +46,6 @@ __attribute__((weak)) void spi_init(void) {
|
|||
palSetPadMode(PAL_PORT(SPI_MOSI_PIN), PAL_PAD(SPI_MOSI_PIN), SPI_MOSI_FLAGS);
|
||||
palSetPadMode(PAL_PORT(SPI_MISO_PIN), PAL_PAD(SPI_MISO_PIN), SPI_MISO_FLAGS);
|
||||
#endif
|
||||
spiUnselect(&SPI_DRIVER);
|
||||
spiStop(&SPI_DRIVER);
|
||||
currentSlavePin = NO_PIN;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue