mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
lis2mdl: fix align define typo (#14154)
This commit is contained in:
parent
2163e44df3
commit
4a6e3bbe06
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ bool compassDetect(magDev_t *magDev, uint8_t *alignment)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lis2mdlDetect(magDev)) {
|
if (lis2mdlDetect(magDev)) {
|
||||||
#ifdef MAG_LIS3MDL_ALIGN
|
#ifdef MAG_LIS2MDL_ALIGN
|
||||||
*alignment = MAG_LIS2MDL_ALIGN;
|
*alignment = MAG_LIS2MDL_ALIGN;
|
||||||
#endif
|
#endif
|
||||||
magHardware = MAG_LIS2MDL;
|
magHardware = MAG_LIS2MDL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue