From 8574afb2e1559dc2431efe2cefdc6ec7126cdeaf Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sun, 20 Mar 2022 13:48:40 +0530 Subject: [PATCH] AP_BoardConfig: add WHOAMI for INV42688 --- libraries/AP_BoardConfig/board_drivers.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_BoardConfig/board_drivers.cpp b/libraries/AP_BoardConfig/board_drivers.cpp index bd58df7b10..4f35e52536 100644 --- a/libraries/AP_BoardConfig/board_drivers.cpp +++ b/libraries/AP_BoardConfig/board_drivers.cpp @@ -285,6 +285,10 @@ bool AP_BoardConfig::check_ms5611(const char* devname) { #define INV2_WHOAMI_ICM20948 0xEA #define INV2_WHOAMI_ICM20649 0xE1 +#define INV3REG_WHOAMI 0x75 + +#define INV3_WHOAMI_ICM42688 0x47 + /* validation of the board type */