1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

lis2mdl: fix align define typo (#14154)

This commit is contained in:
Jacob Dahl 2025-01-14 10:38:37 -09:00 committed by GitHub
parent 2163e44df3
commit 4a6e3bbe06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,7 +237,7 @@ bool compassDetect(magDev_t *magDev, uint8_t *alignment)
}
if (lis2mdlDetect(magDev)) {
#ifdef MAG_LIS3MDL_ALIGN
#ifdef MAG_LIS2MDL_ALIGN
*alignment = MAG_LIS2MDL_ALIGN;
#endif
magHardware = MAG_LIS2MDL;