From 7e78b2326bccb092ed09e4da592b41c887418a1e Mon Sep 17 00:00:00 2001 From: Balazs Racz Date: Tue, 6 Apr 2021 00:17:10 +0200 Subject: [PATCH] Adds missing include guard for STM32 arduino header. (#531) --- arduino/stm32f_hal_conf.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arduino/stm32f_hal_conf.hxx b/arduino/stm32f_hal_conf.hxx index 1c351c60e..da11d1b39 100644 --- a/arduino/stm32f_hal_conf.hxx +++ b/arduino/stm32f_hal_conf.hxx @@ -1,3 +1,5 @@ +#ifndef _OPENMRN_ARDUINO_STM32F_HAL_CONF_HXX +#define _OPENMRN_ARDUINO_STM32F_HAL_CONF_HXX #include @@ -9,3 +11,5 @@ static inline void SetInterruptPriority(uint32_t irq, uint8_t priority) #ifndef configKERNEL_INTERRUPT_PRIORITY #define configKERNEL_INTERRUPT_PRIORITY 0xA0 #endif + +#endif // _OPENMRN_ARDUINO_STM32F_HAL_CONF_HXX