Skip to content

Commit

Permalink
lis2mdl: fix align define typo (betaflight#14154)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakejahl authored Jan 14, 2025
1 parent 2163e44 commit 4a6e3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/sensors/compass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4a6e3bb

Please sign in to comment.