Skip to content

Commit

Permalink
Adds missing include guard for STM32 arduino header. (bakerstu#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz authored Apr 5, 2021
1 parent 962989e commit 7e78b23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arduino/stm32f_hal_conf.hxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef _OPENMRN_ARDUINO_STM32F_HAL_CONF_HXX
#define _OPENMRN_ARDUINO_STM32F_HAL_CONF_HXX

#include <stm32yyxx_hal_conf.h>

Expand All @@ -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

0 comments on commit 7e78b23

Please sign in to comment.