AP_GPS: allow hwdef.dat override of GPS rate

This commit is contained in:
Andrew Tridgell 2020-09-06 21:10:02 +10:00
parent 85b61d6bf3
commit 94670879f8
1 changed files with 2 additions and 0 deletions

View File

@ -48,7 +48,9 @@
#include <AP_Logger/AP_Logger.h>
#define GPS_RTK_INJECT_TO_ALL 127
#ifndef GPS_MAX_RATE_MS
#define GPS_MAX_RATE_MS 200 // maximum value of rate_ms (i.e. slowest update rate) is 5hz or 200ms
#endif
#define GPS_BAUD_TIME_MS 1200
#define GPS_TIMEOUT_MS 4000u