From 4504b08cf8e83035f318cd3eb4e1f9ed6956e7bc Mon Sep 17 00:00:00 2001 From: LibDriver <704839379@qq.com> Date: Mon, 1 Jul 2024 11:40:41 +0800 Subject: [PATCH] fix some display errors --- CHANGELOG.md | 6 ++++ README.md | 6 ++-- README_de.md | 6 ++-- README_ja.md | 6 ++-- README_ko.md | 6 ++-- README_zh-Hans.md | 6 ++-- README_zh-Hant.md | 6 ++-- ...r__mpu9250__dmp__read__test_8c_source.html | 6 ++-- doc/html/group__mpu9250__basic__driver.html | 2 +- project/raspberrypi4b/README.md | 36 +++++++++---------- project/raspberrypi4b/src/main.c | 6 ++-- project/stm32f407/README.md | 36 +++++++++---------- project/stm32f407/usr/src/main.c | 6 ++-- src/driver_mpu9250.c | 2 +- src/driver_mpu9250.h | 2 +- test/driver_mpu9250_dmp_read_test.c | 6 ++-- 16 files changed, 75 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 362828c..669a405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.1 (2024-07-01) + +## Bug Fixes + +- fix some display errors + ## 1.0.0 (2022-08-30) ## Features diff --git a/README.md b/README.md index 6f179a3..8e33fb8 100644 --- a/README.md +++ b/README.md @@ -411,9 +411,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/README_de.md b/README_de.md index be0d96a..33c55ab 100644 --- a/README_de.md +++ b/README_de.md @@ -411,9 +411,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/README_ja.md b/README_ja.md index 172e887..7944db6 100644 --- a/README_ja.md +++ b/README_ja.md @@ -411,9 +411,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/README_ko.md b/README_ko.md index 59ae656..2a73694 100644 --- a/README_ko.md +++ b/README_ko.md @@ -411,9 +411,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/README_zh-Hans.md b/README_zh-Hans.md index e7f72b4..4f91660 100644 --- a/README_zh-Hans.md +++ b/README_zh-Hans.md @@ -411,9 +411,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/README_zh-Hant.md b/README_zh-Hant.md index 463427f..598af7b 100644 --- a/README_zh-Hant.md +++ b/README_zh-Hant.md @@ -405,9 +405,9 @@ for (i = 0; i < times; i++) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/doc/html/driver__mpu9250__dmp__read__test_8c_source.html b/doc/html/driver__mpu9250__dmp__read__test_8c_source.html index 7cd54d9..68ba989 100644 --- a/doc/html/driver__mpu9250__dmp__read__test_8c_source.html +++ b/doc/html/driver__mpu9250__dmp__read__test_8c_source.html @@ -1377,9 +1377,9 @@
1340  {
1341  /* output data */
1342  mpu9250_interface_debug_print("mpu9250: fifo %d.\n", l);
-
1343  mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]);
-
1344  mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]);
-
1345  mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]);
+
1343  mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]);
+
1344  mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]);
+
1345  mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]);
1346  mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]);
1347  mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]);
1348  mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]);
diff --git a/doc/html/group__mpu9250__basic__driver.html b/doc/html/group__mpu9250__basic__driver.html index 930527e..e6734e0 100644 --- a/doc/html/group__mpu9250__basic__driver.html +++ b/doc/html/group__mpu9250__basic__driver.html @@ -5916,7 +5916,7 @@

Returns
status code
  • 0 success
  • -
  • 1 iic initialization failed
  • +
  • 1 iic or spi initialization failed
  • 2 handle is NULL
  • 3 linked functions is NULL
  • 4 reset failed
  • diff --git a/project/raspberrypi4b/README.md b/project/raspberrypi4b/README.md index aa86a75..8c00346 100644 --- a/project/raspberrypi4b/README.md +++ b/project/raspberrypi4b/README.md @@ -1114,9 +1114,9 @@ mpu9250: enable feature send raw accel. mpu9250: enable feature send cal gyro. mpu9250: enable feature gyro cal. mpu9250: fifo 8. -mpu9250: pitch[0] is -0.03dps. -mpu9250: roll[0] is 0.79dps. -mpu9250: yaw[0] is -0.03dps. +mpu9250: pitch[0] is -0.03deg. +mpu9250: roll[0] is 0.79deg. +mpu9250: yaw[0] is -0.03deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.00g. mpu9250: acc z[0] is 0.96g. @@ -1124,9 +1124,9 @@ mpu9250: gyro x[0] is -0.12dps. mpu9250: gyro y[0] is 0.37dps. mpu9250: gyro z[0] is 0.12dps. mpu9250: fifo 14. -mpu9250: pitch[0] is -0.01dps. -mpu9250: roll[0] is 0.77dps. -mpu9250: yaw[0] is -0.02dps. +mpu9250: pitch[0] is -0.01deg. +mpu9250: roll[0] is 0.77deg. +mpu9250: yaw[0] is -0.02deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.00g. mpu9250: acc z[0] is 0.96g. @@ -1134,9 +1134,9 @@ mpu9250: gyro x[0] is -0.24dps. mpu9250: gyro y[0] is 0.43dps. mpu9250: gyro z[0] is 0.18dps. mpu9250: fifo 17. -mpu9250: pitch[0] is 0.02dps. -mpu9250: roll[0] is 0.73dps. -mpu9250: yaw[0] is -0.00dps. +mpu9250: pitch[0] is 0.02deg. +mpu9250: roll[0] is 0.73deg. +mpu9250: yaw[0] is -0.00deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.00g. mpu9250: acc z[0] is 0.96g. @@ -1350,9 +1350,9 @@ mpu9250: mag z[0] is 74.42uT. mpu9250: 1/3. mpu9250: fifo 6. -mpu9250: pitch[0] is 0.08dps. -mpu9250: roll[0] is 0.85dps. -mpu9250: yaw[0] is 0.00dps. +mpu9250: pitch[0] is 0.08deg. +mpu9250: roll[0] is 0.85deg. +mpu9250: yaw[0] is 0.00deg. mpu9250: acc x[0] is -0.09g. mpu9250: acc y[0] is 0.01g. mpu9250: acc z[0] is 0.95g. @@ -1361,9 +1361,9 @@ mpu9250: gyro y[0] is -0.06dps. mpu9250: gyro z[0] is 0.00dps. mpu9250: 2/3. mpu9250: fifo 6. -mpu9250: pitch[0] is 0.06dps. -mpu9250: roll[0] is 0.77dps. -mpu9250: yaw[0] is 0.00dps. +mpu9250: pitch[0] is 0.06deg. +mpu9250: roll[0] is 0.77deg. +mpu9250: yaw[0] is 0.00deg. mpu9250: acc x[0] is -0.09g. mpu9250: acc y[0] is 0.00g. mpu9250: acc z[0] is 0.95g. @@ -1372,9 +1372,9 @@ mpu9250: gyro y[0] is 0.06dps. mpu9250: gyro z[0] is -0.06dps. mpu9250: 3/3. mpu9250: fifo 6. -mpu9250: pitch[0] is 0.05dps. -mpu9250: roll[0] is 0.71dps. -mpu9250: yaw[0] is 0.00dps. +mpu9250: pitch[0] is 0.05deg. +mpu9250: roll[0] is 0.71deg. +mpu9250: yaw[0] is 0.00deg. mpu9250: acc x[0] is -0.09g. mpu9250: acc y[0] is 0.01g. mpu9250: acc z[0] is 0.95g. diff --git a/project/raspberrypi4b/src/main.c b/project/raspberrypi4b/src/main.c index ba453cf..f272ab5 100644 --- a/project/raspberrypi4b/src/main.c +++ b/project/raspberrypi4b/src/main.c @@ -715,9 +715,9 @@ uint8_t mpu9250(uint8_t argc, char **argv) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/project/stm32f407/README.md b/project/stm32f407/README.md index c4316d6..9538d91 100644 --- a/project/stm32f407/README.md +++ b/project/stm32f407/README.md @@ -1079,9 +1079,9 @@ mpu9250: enable feature send raw accel. mpu9250: enable feature send cal gyro. mpu9250: enable feature gyro cal. mpu9250: fifo 3. -mpu9250: pitch[0] is -0.06dps. -mpu9250: roll[0] is 1.16dps. -mpu9250: yaw[0] is -0.02dps. +mpu9250: pitch[0] is -0.06deg. +mpu9250: roll[0] is 1.16deg. +mpu9250: yaw[0] is -0.02deg. mpu9250: acc x[0] is -0.09g. mpu9250: acc y[0] is 0.01g. mpu9250: acc z[0] is 0.95g. @@ -1089,9 +1089,9 @@ mpu9250: gyro x[0] is -0.12dps. mpu9250: gyro y[0] is -0.06dps. mpu9250: gyro z[0] is -0.06dps. mpu9250: fifo 6. -mpu9250: pitch[0] is -0.06dps. -mpu9250: roll[0] is 1.14dps. -mpu9250: yaw[0] is -0.02dps. +mpu9250: pitch[0] is -0.06deg. +mpu9250: roll[0] is 1.14deg. +mpu9250: yaw[0] is -0.02deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.01g. mpu9250: acc z[0] is 0.94g. @@ -1099,9 +1099,9 @@ mpu9250: gyro x[0] is -0.06dps. mpu9250: gyro y[0] is 0.00dps. mpu9250: gyro z[0] is -0.06dps. mpu9250: fifo 7. -mpu9250: pitch[0] is -0.06dps. -mpu9250: roll[0] is 1.12dps. -mpu9250: yaw[0] is -0.02dps. +mpu9250: pitch[0] is -0.06deg. +mpu9250: roll[0] is 1.12deg. +mpu9250: yaw[0] is -0.02deg. mpu9250: acc x[0] is -0.09g. mpu9250: acc y[0] is 0.01g. mpu9250: acc z[0] is 0.95g. @@ -1315,9 +1315,9 @@ mpu9250 -e dmp --addr=0 --interface=iic --times=3 mpu9250: 1/3. mpu9250: fifo 6. -mpu9250: pitch[0] is 0.01dps. -mpu9250: roll[0] is 0.82dps. -mpu9250: yaw[0] is -0.03dps. +mpu9250: pitch[0] is 0.01deg. +mpu9250: roll[0] is 0.82deg. +mpu9250: yaw[0] is -0.03deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.02g. mpu9250: acc z[0] is 0.95g. @@ -1326,9 +1326,9 @@ mpu9250: gyro y[0] is -0.12dps. mpu9250: gyro z[0] is -0.06dps. mpu9250: 2/3. mpu9250: fifo 7. -mpu9250: pitch[0] is -0.01dps. -mpu9250: roll[0] is 0.75dps. -mpu9250: yaw[0] is -0.03dps. +mpu9250: pitch[0] is -0.01deg. +mpu9250: roll[0] is 0.75deg. +mpu9250: yaw[0] is -0.03deg. mpu9250: acc x[0] is -0.07g. mpu9250: acc y[0] is 0.02g. mpu9250: acc z[0] is 0.95g. @@ -1337,9 +1337,9 @@ mpu9250: gyro y[0] is -0.18dps. mpu9250: gyro z[0] is -0.12dps. mpu9250: 3/3. mpu9250: fifo 8. -mpu9250: pitch[0] is -0.04dps. -mpu9250: roll[0] is 0.69dps. -mpu9250: yaw[0] is -0.04dps. +mpu9250: pitch[0] is -0.04deg. +mpu9250: roll[0] is 0.69deg. +mpu9250: yaw[0] is -0.04deg. mpu9250: acc x[0] is -0.08g. mpu9250: acc y[0] is 0.02g. mpu9250: acc z[0] is 0.95g. diff --git a/project/stm32f407/usr/src/main.c b/project/stm32f407/usr/src/main.c index 4dcb539..c2ab14b 100644 --- a/project/stm32f407/usr/src/main.c +++ b/project/stm32f407/usr/src/main.c @@ -785,9 +785,9 @@ uint8_t mpu9250(uint8_t argc, char **argv) /* output */ mpu9250_interface_debug_print("mpu9250: %d/%d.\n", i + 1, times); mpu9250_interface_debug_print("mpu9250: fifo %d.\n", len); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]); diff --git a/src/driver_mpu9250.c b/src/driver_mpu9250.c index 37ff685..818f867 100644 --- a/src/driver_mpu9250.c +++ b/src/driver_mpu9250.c @@ -3999,7 +3999,7 @@ uint8_t mpu9250_get_addr_pin(mpu9250_handle_t *handle, mpu9250_address_t *addr_p * @param[in] *handle points to an mpu9250 handle structure * @return status code * - 0 success - * - 1 iic initialization failed + * - 1 iic or spi initialization failed * - 2 handle is NULL * - 3 linked functions is NULL * - 4 reset failed diff --git a/src/driver_mpu9250.h b/src/driver_mpu9250.h index 6060e9f..c594ec9 100644 --- a/src/driver_mpu9250.h +++ b/src/driver_mpu9250.h @@ -729,7 +729,7 @@ uint8_t mpu9250_irq_handler(mpu9250_handle_t *handle); * @param[in] *handle points to an mpu9250 handle structure * @return status code * - 0 success - * - 1 iic initialization failed + * - 1 iic or spi initialization failed * - 2 handle is NULL * - 3 linked functions is NULL * - 4 reset failed diff --git a/test/driver_mpu9250_dmp_read_test.c b/test/driver_mpu9250_dmp_read_test.c index cd33242..4d64b50 100644 --- a/test/driver_mpu9250_dmp_read_test.c +++ b/test/driver_mpu9250_dmp_read_test.c @@ -1340,9 +1340,9 @@ uint8_t mpu9250_dmp_read_test(mpu9250_interface_t interface, mpu9250_address_t a { /* output data */ mpu9250_interface_debug_print("mpu9250: fifo %d.\n", l); - mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdps.\n", gs_pitch[0]); - mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdps.\n", gs_roll[0]); - mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdps.\n", gs_yaw[0]); + mpu9250_interface_debug_print("mpu9250: pitch[0] is %0.2fdeg.\n", gs_pitch[0]); + mpu9250_interface_debug_print("mpu9250: roll[0] is %0.2fdeg.\n", gs_roll[0]); + mpu9250_interface_debug_print("mpu9250: yaw[0] is %0.2fdeg.\n", gs_yaw[0]); mpu9250_interface_debug_print("mpu9250: acc x[0] is %0.2fg.\n", gs_accel_g[0][0]); mpu9250_interface_debug_print("mpu9250: acc y[0] is %0.2fg.\n", gs_accel_g[0][1]); mpu9250_interface_debug_print("mpu9250: acc z[0] is %0.2fg.\n", gs_accel_g[0][2]);