From e03c1c2a6814b1d411bee30beb44bc4502041cc0 Mon Sep 17 00:00:00 2001 From: Sanyog Date: Fri, 29 Nov 2024 15:06:52 +0530 Subject: [PATCH] Declare variables required for UART1 Handler --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index ec559e2..c70d90c 100644 --- a/main.c +++ b/main.c @@ -2,6 +2,11 @@ #include #include "tm4c123gh6pm.h" +#define MAX_FIELD_SIZE 100 +volatile char nmea_sentence[MAX_FIELD_SIZE]; +volatile uint8_t nmea_index = 0; +volatile bool nmea_ready = false; + void GPIO_PORT_F_init(void) { SYSCTL_RCGC2_R |= 0x00000020; // ENABLE CLOCK TO GPIOF