From 93ba7de0c3b82507720c6fbbe9d1953217c4722d Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 30 Mar 2023 13:36:37 +1300 Subject: [PATCH] gps: fix protocol param max This seemed wrong. Signed-off-by: Julian Oes --- src/drivers/gps/params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/gps/params.c b/src/drivers/gps/params.c index f0ea80e91d..f6f37d2085 100644 --- a/src/drivers/gps/params.c +++ b/src/drivers/gps/params.c @@ -176,7 +176,7 @@ PARAM_DEFINE_FLOAT(GPS_YAW_OFFSET, 0.f); * Auto-detection will probe all protocols, and thus is a bit slower. * * @min 0 - * @max 5 + * @max 6 * @value 0 Auto detect * @value 1 u-blox * @value 2 MTK @@ -198,7 +198,7 @@ PARAM_DEFINE_INT32(GPS_1_PROTOCOL, 1); * Auto-detection will probe all protocols, and thus is a bit slower. * * @min 0 - * @max 5 + * @max 6 * @value 0 Auto detect * @value 1 u-blox * @value 2 MTK