From a05af3f3c3bf39928256db52780eaa20db6468e0 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Thu, 18 May 2023 19:24:34 -0600 Subject: [PATCH] AP_GPS: More const for gsofmsgreq Signed-off-by: Ryan Friedman --- libraries/AP_GPS/AP_GPS_GSOF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_GPS/AP_GPS_GSOF.h b/libraries/AP_GPS/AP_GPS_GSOF.h index d1f7589818..946242736d 100644 --- a/libraries/AP_GPS/AP_GPS_GSOF.h +++ b/libraries/AP_GPS/AP_GPS_GSOF.h @@ -82,6 +82,6 @@ private: uint32_t gsofmsg_time = 0; uint8_t gsofmsgreq_index = 0; - uint8_t gsofmsgreq[5] = {1,2,8,9,12}; + const uint8_t gsofmsgreq[5] = {1,2,8,9,12}; }; #endif