mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fix initialisation of SPI2
This commit is contained in:
parent
af68517dda
commit
a60cdf157a
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ bool spiInit(SPI_TypeDef *instance)
|
|||
}
|
||||
#endif
|
||||
#ifdef USE_SPI_DEVICE_2
|
||||
if (instance == SPI1) {
|
||||
if (instance == SPI2) {
|
||||
initSpi2();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue