diff options
Diffstat (limited to 'wirish/include')
-rw-r--r-- | wirish/include/wirish/wirish.h | 2 | ||||
-rw-r--r-- | wirish/include/wirish/wirish_debug.h | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/wirish/include/wirish/wirish.h b/wirish/include/wirish/wirish.h index 6810e4f..360b502 100644 --- a/wirish/include/wirish/wirish.h +++ b/wirish/include/wirish/wirish.h @@ -39,7 +39,7 @@ #include <wirish/bit_constants.h> #include <wirish/pwm.h> #include <wirish/ext_interrupts.h> -/* FIXME put this back when you can #include <wirish/wirish_debug.h> */ +#include <wirish/wirish_debug.h> #include <wirish/wirish_math.h> #include <wirish/wirish_time.h> /* FIXME put this back when you can #include <wirish/HardwareSPI.h> */ diff --git a/wirish/include/wirish/wirish_debug.h b/wirish/include/wirish/wirish_debug.h index cb1be3d..4edfd27 100644 --- a/wirish/include/wirish/wirish_debug.h +++ b/wirish/include/wirish/wirish_debug.h @@ -42,9 +42,7 @@ * * @see enableDebugPorts() */ -static inline void disableDebugPorts(void) { - afio_cfg_debug_ports(AFIO_DEBUG_NONE); -} +void disableDebugPorts(void); /** * @brief Enable the JTAG and Serial Wire (SW) debug ports. @@ -54,8 +52,6 @@ static inline void disableDebugPorts(void) { * * @see disableDebugPorts() */ -static inline void enableDebugPorts(void) { - afio_cfg_debug_ports(AFIO_DEBUG_FULL_SWJ); -} +void enableDebugPorts(void); #endif |