From c2416e07151ebfbf6735dfcb3c54be72f4a3558b Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 27 Jan 2025 19:20:38 -0800 Subject: [PATCH] Created "main.h" Added an main.h file in the inc directory. Holds stuff from the empty project I made before. --- inc/main.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 inc/main.h diff --git a/inc/main.h b/inc/main.h new file mode 100644 index 0000000..66bdec6 --- /dev/null +++ b/inc/main.h @@ -0,0 +1,24 @@ +/** + * @file: main.h + * @brief: Header for main.c file. + *This file contains the common defines of the application. + */ + +#ifndef __MAIN_H +#define __MAIN_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "stm32g0xx_hal.h" + + +void Error_Handler(void); + + +#ifdef __cplusplus +} +#endif + +#endif /* __MAIN_H */