feat(driver): autodetect IMU, add support for SC7U22 (#7191)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
3djc
2026-03-25 16:19:03 +10:00
committed by GitHub
co-authored by raphaelcoeffic Claude Opus 4.6
parent 5ea531d391
commit 0ce5c8f3f2
59 changed files with 867 additions and 865 deletions
+2 -2
View File
@@ -386,10 +386,10 @@ getvalue_t _getValue(mixsrc_t i, bool* valid)
#if defined(IMU)
else if (i == MIXSRC_TILT_X) {
return gyro.scaledX();
return gyroScaledX();
}
else if (i == MIXSRC_TILT_Y) {
return gyro.scaledY();
return gyroScaledY();
}
#endif