1
0
Fork 0
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:
Michael Keller 2021-07-28 00:55:55 +12:00
parent 864cf3f3b4
commit f4d840f5f8
11 changed files with 14 additions and 16 deletions

View file

@ -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;
}