diff options
Diffstat (limited to 'wirish/wirish_debug.h')
-rw-r--r-- | wirish/wirish_debug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wirish/wirish_debug.h b/wirish/wirish_debug.h index d4c0bab..3f92b02 100644 --- a/wirish/wirish_debug.h +++ b/wirish/wirish_debug.h @@ -29,6 +29,11 @@ * @brief High level debug port configuration */ +#ifndef _WIRISH_DEBUG_H_ +#define _WIRISH_DEBUG_H_ + +#include "gpio.h" + /** * @brief Disable the JTAG and Serial Wire (SW) debug ports. * @@ -52,3 +57,5 @@ static inline void disableDebugPorts(void) { static inline void enableDebugPorts(void) { afio_cfg_debug_ports(AFIO_DEBUG_FULL_SWJ); } + +#endif |