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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user