From 97c2b7228ebd7ca2cf7eb0c1bdc04b812209121d Mon Sep 17 00:00:00 2001 From: mateksys Date: Tue, 9 Feb 2021 20:58:54 +0800 Subject: [PATCH] AP_Periph: Matek F303 and F405 AP_Periph use DSP310 baro --- libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat index a2e8c1abc4..e4655bd620 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat @@ -138,7 +138,7 @@ define CAN_APP_NODE_NAME "org.ardupilot.f303_MatekGPS" COMPASS QMC5883L I2C:0:0xd false ROTATION_PITCH_180_YAW_90 # I2C baro (DPS310) -BARO DPS280 I2C:0:0x76 +BARO DPS310 I2C:0:0x76 # enable builtin GPS, mag and baro # also allow for airspeed on i2c port, and rangefinder on MSP port diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat index 7c0fdb1c0f..59002813fd 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat @@ -181,7 +181,7 @@ COMPASS QMC5883L I2C:0:0xd false ROTATION_PITCH_180_YAW_90 define HAL_PERIPH_ENABLE_BARO define HAL_BARO_ALLOW_INIT_NO_BARO -BARO DPS280 I2C:0:0x76 +BARO DPS310 I2C:0:0x76 # ------------------ I2C airspeed -------------------------