Update detection log for LSM6DS3TR-C sensor
Added LSM6DS3TR-C/LSM6DSM both share the same WHO_AM_I of 0x6A
This commit is contained in:
1 parent
31a80652fa
commit
b9aef32d79
1 file changed
+1
-1
@@ -19,7 +19,7 @@ void LSM6DSComponent::setup() {
|
|||||||
if (who_am_i == 0x6C) {
|
if (who_am_i == 0x6C) {
|
||||||
ESP_LOGI(TAG, "Detected LSM6DSOX");
|
ESP_LOGI(TAG, "Detected LSM6DSOX");
|
||||||
} else if (who_am_i == 0x6A) {
|
} else if (who_am_i == 0x6A) {
|
||||||
ESP_LOGI(TAG, "Detected LSM6DS3TR-C");
|
ESP_LOGI(TAG, "Detected LSM6DS3TR-C/LSM6DSM");
|
||||||
} else if (who_am_i == 0x69) {
|
} else if (who_am_i == 0x69) {
|
||||||
ESP_LOGI(TAG, "Detected LSM6DSO32TR");
|
ESP_LOGI(TAG, "Detected LSM6DSO32TR");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user