mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
White space tidy
This commit is contained in:
parent
d25c852098
commit
ff16686893
58 changed files with 310 additions and 310 deletions
|
@ -147,7 +147,7 @@ bool compassDetect(magDev_t *dev, uint8_t *alignment)
|
|||
if (!instance) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
busdev->bustype = BUSTYPE_SPI;
|
||||
spiBusSetInstance(busdev, instance);
|
||||
busdev->busdev_u.spi.csnPin = IOGetByTag(compassConfig()->mag_spi_csn);
|
||||
|
@ -310,7 +310,7 @@ bool compassInit(void)
|
|||
if (compassConfig()->mag_alignment != ALIGN_DEFAULT) {
|
||||
magDev.magAlignment = compassConfig()->mag_alignment;
|
||||
}
|
||||
|
||||
|
||||
buildRotationMatrixFromAlignment(&compassConfig()->mag_customAlignment, &magDev.rotationMatrix);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue