From 691380478a065fbfacd43c6a459c25f5ddfe2322 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 21 Oct 2022 12:31:02 +0530 Subject: [PATCH] AP_BoardConfig: add support for checking ICM45686 --- libraries/AP_BoardConfig/board_drivers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_BoardConfig/board_drivers.cpp b/libraries/AP_BoardConfig/board_drivers.cpp index cc90d3456e..40b2a30647 100644 --- a/libraries/AP_BoardConfig/board_drivers.cpp +++ b/libraries/AP_BoardConfig/board_drivers.cpp @@ -269,10 +269,12 @@ bool AP_BoardConfig::check_ms5611(const char* devname) { #define INV2_WHOAMI_ICM20649 0xE1 #define INV3REG_WHOAMI 0x75 +#define INV3REG_456_WHOAMI 0x72 #define INV3_WHOAMI_ICM42688 0x47 #define INV3_WHOAMI_ICM42670 0x67 +#define INV3_WHOAMI_ICM45686 0xE9 /* validation of the board type */