From e47fbdd4f5bc0115cd03082c23d68022a8f823cd Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 21 May 2024 01:27:10 +0300 Subject: [PATCH] Added support STM32G0 Series --- Inc/DS_Button.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Inc/DS_Button.h b/Inc/DS_Button.h index f59e61a..afed754 100644 --- a/Inc/DS_Button.h +++ b/Inc/DS_Button.h @@ -2,7 +2,15 @@ #define DS_BUTTON_H #include -#include "stm32f0xx_hal.h" + +#ifdef STM32G030xx + #include "stm32g0xx_hal.h" +#endif + +#ifdef STM32F030xx + #include "stm32f0xx_hal.h" +#endif + typedef struct DS_Button { -- 2.39.5