We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e036f32 commit 83f5e1aCopy full SHA for 83f5e1a
1 file changed
src/utility/IMU_Class.cpp
@@ -87,7 +87,7 @@ namespace m5
87
_imu = imu_t::imu_bmi270;
88
89
#if defined ( CONFIG_IDF_TARGET_ESP32S3 )
90
- if (board == m5::board_t::board_M5StackCoreS3)
+ if (board == m5::board_t::board_M5StackCoreS3 && bmi2->getAddress() == 0x69)
91
{ // CoreS3 では、地磁気のY軸Z軸をそれぞれ反転する
92
_internal_axisorder_fixed[sensor_index_mag] = (internal_axisorder_t)(axis_invert_y | axis_invert_z); // Y軸,Z軸反転
93
} else
0 commit comments