The open source OpenXR runtime

m/3dof: Fix conversion warning

+2 -2
+1 -1
src/xrt/auxiliary/math/m_imu_3dof.c
··· 81 81 snprintf(tmp, sizeof(tmp), "%slast.accel_length", prefix); 82 82 u_var_add_ro_f32(root, &f->last.accel_length, tmp); 83 83 snprintf(tmp, sizeof(tmp), "%slast.delta_ms", prefix); 84 - u_var_add_ro_f32(root, &f->last.delta_ms, tmp); 84 + u_var_add_ro_f64(root, &f->last.delta_ms, tmp); 85 85 86 86 snprintf(tmp, sizeof(tmp), "%sgrav.level_timestamp_ns", prefix); 87 87 u_var_add_ro_u64(root, &f->grav.level_timestamp_ns, tmp);
+1 -1
src/xrt/auxiliary/math/m_imu_3dof.h
··· 40 40 uint64_t timestamp_ns; 41 41 struct xrt_vec3 gyro; //!< Angular velocity 42 42 struct xrt_vec3 accel; //!< Acceleration 43 - float delta_ms; 43 + double delta_ms; 44 44 float accel_length; 45 45 float gyro_length; 46 46 float gyro_biased_length;