Fix loading calibration data from Xreal Air 2 Ultra

This commit is contained in:
Jacki 2025-03-27 22:02:02 +01:00
parent c84f468bdd
commit c5e051de68
No known key found for this signature in database
GPG key ID: B404184796354C5E
4 changed files with 51 additions and 24 deletions

View file

@ -138,6 +138,7 @@ struct device_imu_t {
uint16_t product_id;
void* handle;
uint16_t max_payload_size;
uint32_t static_id;

View file

@ -47,6 +47,8 @@ bool is_xreal_product_id(uint16_t product_id);
int xreal_imu_interface_id(uint16_t product_id);
int xreal_mcu_interface_id(uint16_t product_id);
uint16_t xreal_imu_max_payload_size(uint16_t product_id);
#ifdef __cplusplus
} // extern "C"
#endif