summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2022-10-25 11:30:30 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2022-10-25 11:30:30 -0500
commit422f5425c37b1a1dc7c7ea76b5d01f11be5e1fca (patch)
tree4476c14481eb2455bec373829c40d3fc99c38905
parent79a392cb7d31c6b08f70511cc3921d30bbb7bec2 (diff)
downloadpacket_forwarder_mtac_full-422f5425c37b1a1dc7c7ea76b5d01f11be5e1fca.tar.gz
packet_forwarder_mtac_full-422f5425c37b1a1dc7c7ea76b5d01f11be5e1fca.tar.bz2
packet_forwarder_mtac_full-422f5425c37b1a1dc7c7ea76b5d01f11be5e1fca.zip
Reduced gps buffer size4.0.23
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 47662e6..2d2104f 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -3576,7 +3576,7 @@ static void gps_process_coords(void) {
void thread_gps(void) {
/* serial variables */
- char serial_buff[4096]; /* buffer to receive GPS data */
+ char serial_buff[256]; /* buffer to receive GPS data */
size_t wr_idx = 0; /* pointer to end of chars in buffer */
/* variables for PPM pulse GPS synchronization */
enum gps_msg latest_msg; /* keep track of latest NMEA message parsed */