From 4e6be91ac31569662959fa3ae8f143eae57d2b0e Mon Sep 17 00:00:00 2001 From: jake-g00dwin Date: Sat, 20 Dec 2025 18:46:32 -0800 Subject: [PATCH] Updated funconfig with doxygen comments and header guard stuff. --- inc/funconfig.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/inc/funconfig.h b/inc/funconfig.h index 10eb530..ccc1558 100644 --- a/inc/funconfig.h +++ b/inc/funconfig.h @@ -1,11 +1,29 @@ + /** + * @brief CH32VFUN configuration header. + * @details This file is a ch32fun configuration file. + * @author Jake G + * @date TODAYS_YEAR + * @copyright None + * @file funconfig.h + */ + +//Standard C header guard. #ifndef _FUNCONFIG_H #define _FUNCONFIG_H +#ifdef __cplusplus +extern "C" +{ +#endif + #define CH32V003 1 #define FUNCONF_USE_DEBUGPRINTF 0 #define FUNCONF_USE_UARTPRINTF 1 #define FUNCONF_UART_PRINTF_BAUD 115200 +#ifdef __cplusplus +} +#endif // __cplusplus -#endif +#endif //_FUNCONFIG_H