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
@@ -3065,7 +3065,7 @@ static int luaSetIMU_X(lua_State* const L)
return 1;
}
gyro.setIMU_X(offset, range);
gyroSetIMU_X(offset, range);
#endif
lua_pushboolean(L, true);
return 1;
@@ -3096,7 +3096,7 @@ static int luaSetIMU_Y(lua_State* const L)
return 1;
}
gyro.setIMU_Y(offset, range);
gyroSetIMU_Y(offset, range);
#endif
lua_pushboolean(L, true);
return 1;