From 72804196b1194d23a049801ab9fb2026ca69846f Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Wed, 17 Jan 2024 19:46:54 -0500 Subject: [PATCH] Updated identification code per the datasheet --- libraries/AP_Baro/AP_Baro_ICP201XX.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Baro/AP_Baro_ICP201XX.cpp b/libraries/AP_Baro/AP_Baro_ICP201XX.cpp index b7b5c6ec89..6811e8c66b 100644 --- a/libraries/AP_Baro/AP_Baro_ICP201XX.cpp +++ b/libraries/AP_Baro/AP_Baro_ICP201XX.cpp @@ -106,6 +106,7 @@ bool AP_Baro_ICP201XX::init() uint8_t id = 0xFF; uint8_t ver = 0xFF; read_reg(REG_DEVICE_ID, &id); + read_reg(REG_DEVICE_ID, &id); read_reg(REG_VERSION, &ver); if (id != ICP201XX_ID) {