diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-11-19 18:48:57 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-11-19 19:47:07 +0100 |
commit | 501b5765964affe9b48c88a5b580bd321170cc38 (patch) | |
tree | cb769d45cc3e6edabdb7faf5172d50d06e81584e /hal/usart.cpp | |
parent | 9363133fd8880d60cfa01c4e0e7e183fb2b4079e (diff) |
Avoid symbol conflicts from usart.h and xbee.h.
Diffstat (limited to 'hal/usart.cpp')
-rw-r--r-- | hal/usart.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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<Interrupt::USART1>() { + USART1.DR; + //GPIOB.ODR ^= 1 << 1; +} |