summaryrefslogtreecommitdiff
path: root/hal/usart.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-12-03 20:18:53 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-12-03 20:18:53 +0100
commitd0a7ee402141d6703218765c36a47003538168d1 (patch)
tree4943107590772281dc78937e096c280d23147ecd /hal/usart.cpp
parent229fd5405eef950e60cae3b6f446c146f38a2e13 (diff)
Moved USART register definitions into seperate header and added abstraction layer.
Diffstat (limited to 'hal/usart.cpp')
-rw-r--r--hal/usart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/usart.cpp b/hal/usart.cpp
index c446302..61fe393 100644
--- a/hal/usart.cpp
+++ b/hal/usart.cpp
@@ -2,6 +2,6 @@
template<>
void interrupt<Interrupt::USART1>() {
- USART1.DR;
+ USART1.recv();
//GPIOB.ODR ^= 1 << 1;
}