mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +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
|
#endif
|
||||||
#ifdef USE_SPI_DEVICE_2
|
#ifdef USE_SPI_DEVICE_2
|
||||||
if (instance == SPI1) {
|
if (instance == SPI2) {
|
||||||
initSpi2();
|
initSpi2();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue