Add function prototypes for compiler awareness

This commit is contained in:
Sanyog Nevase Nevase 2024-11-30 03:20:08 +05:30
parent fc042a9592
commit efea960180
1 changed files with 6 additions and 0 deletions

6
main.c
View File

@ -11,6 +11,12 @@ volatile char nmea_sentence[MAX_FIELD_SIZE];
volatile uint8_t nmea_index = 0; volatile uint8_t nmea_index = 0;
volatile bool nmea_ready = false; volatile bool nmea_ready = false;
void GPIO_PORT_F_init(void);
void GPIO_PORT_B_init(void);
void UART1_WRITE(char data);
void control_leds_based_on_speed(float speed_kmh);
void process_nmea_sentence(const char *nmea_sentence);
void GPIO_PORT_F_init(void) void GPIO_PORT_F_init(void)
{ {