From 82549a0039197695eddc2889cdc7c8437790b9bf Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 25 Oct 2022 11:06:02 -0500 Subject: Fixed gps rmc message parsing --- libloragw/inc/loragw_gps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libloragw/inc') diff --git a/libloragw/inc/loragw_gps.h b/libloragw/inc/loragw_gps.h index 606bd15..cf40b7f 100644 --- a/libloragw/inc/loragw_gps.h +++ b/libloragw/inc/loragw_gps.h @@ -148,7 +148,7 @@ lgw_gps_get function. If the lgw_parse_nmea and lgw_gps_get are used in different threads, a mutex lock must be acquired before calling either function. */ -enum gps_msg lgw_parse_nmea(const char* serial_buff, int buff_size); +enum gps_msg lgw_parse_nmea(const char* serial_buff, size_t buff_size); /** @brief Parse Ublox proprietary messages coming from the GPS system -- cgit v1.2.3