Correct reading values from magnetometer and apply z axis flip properly

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2023-04-24 17:04:37 +02:00
parent 682e7edb20
commit d41415b485
No known key found for this signature in database
GPG key ID: D850A5F772E880F9
7 changed files with 31 additions and 8 deletions

View file

@ -137,6 +137,8 @@ int device3_load_calibration(device3_type* device, const char* path);
int device3_save_calibration(device3_type* device, const char* path);
void device3_clear(device3_type* device);
int device3_calibrate(device3_type* device, uint32_t iterations, bool gyro, bool accel, bool magnet);
int device3_read(device3_type* device, int timeout);