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:
co-authored by
raphaelcoeffic
Claude Opus 4.6
parent
5ea531d391
commit
0ce5c8f3f2
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user