From a5871959126ab434f291513d8152c0136cbff2c8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 25 Nov 2020 07:41:28 +1100 Subject: [PATCH] HAL_ChibiOS: change f303-MatekGPS to 5Hz by default --- libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat | 5 +++-- 1 file changed, 3 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 cbcad5a335..c2f3e3fb45 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat @@ -157,8 +157,9 @@ define HAL_PERIPH_ENABLE_ADSB define HAL_MSP_ENABLED 1 -# the GPS is good at 10Hz -define GPS_MAX_RATE_MS 100 +# the M8 GPS is good at 10Hz, but the M9 is better at 5Hz, +# so stick to 5Hz as the firmware is shared +define GPS_MAX_RATE_MS 200 # 10" DLVR sensor by default define HAL_AIRSPEED_TYPE_DEFAULT 9