From f3fdf73b7611ff6955835cba2bc94824a9c143fc Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 21 Oct 2020 18:41:40 +0200 Subject: [PATCH] Fix include issue to avoid C linkage issue Fixes #32 Signed-off-by: Frederic Pillon --- src/portmacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portmacro.h b/src/portmacro.h index b2a221a..f3ff239 100644 --- a/src/portmacro.h +++ b/src/portmacro.h @@ -6,7 +6,7 @@ #ifndef _PORTMACRO_H_ #define _PORTMACRO_H_ -#include +#include "stm32_def.h" #ifndef __CORTEX_M #pragma GCC error "no \"__CORTEX_M\" definition"