bmp388: Driver print out start BMP390 identifier when detected

This commit is contained in:
Peter van der Perk 2024-03-01 11:31:01 +01:00 committed by David Sidrane
parent f02b44bec5
commit e0b49afe81
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ BMP388::init()
if (_chip_id == BMP390_CHIP_ID) {
_interface->set_device_type(DRV_BARO_DEVTYPE_BMP390);
this->_item_name = "bmp390";
}
_chip_rev_id = _interface->get_reg(BMP3_REV_ID_ADDR);