From 501b5765964affe9b48c88a5b580bd321170cc38 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 19 Nov 2011 18:48:57 +0100 Subject: Avoid symbol conflicts from usart.h and xbee.h. --- hal/usart.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hal/usart.cpp (limited to 'hal/usart.cpp') diff --git a/hal/usart.cpp b/hal/usart.cpp new file mode 100644 index 0000000..c446302 --- /dev/null +++ b/hal/usart.cpp @@ -0,0 +1,7 @@ +#include "usart.h" + +template<> +void interrupt() { + USART1.DR; + //GPIOB.ODR ^= 1 << 1; +} -- cgit v1.2.3