|
|
|
@ -146,8 +146,6 @@ bool AP_Baro_DPS280::init()
@@ -146,8 +146,6 @@ bool AP_Baro_DPS280::init()
|
|
|
|
|
uint8_t whoami=0; |
|
|
|
|
if (!dev->read_registers(DPS280_REG_PID, &whoami, 1) || |
|
|
|
|
whoami != DPS280_WHOAMI) { |
|
|
|
|
// not a DPS280
|
|
|
|
|
printf("DPS280 whoami=0x%x\n", whoami); |
|
|
|
|
dev->get_semaphore()->give(); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|