mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Changed naming of SPI DMA resources to reflect the SPI bus number.
This commit is contained in:
parent
864cf3f3b4
commit
f4d840f5f8
11 changed files with 14 additions and 16 deletions
|
@ -147,7 +147,7 @@ bool compassDetect(magDev_t *magDev, uint8_t *alignment)
|
|||
#ifdef USE_SPI
|
||||
case BUS_TYPE_SPI:
|
||||
{
|
||||
if (!spiSetBusInstance(dev, compassConfig()->mag_spi_device, OWNER_COMPASS_CS)) {
|
||||
if (!spiSetBusInstance(dev, compassConfig()->mag_spi_device)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue