summaryrefslogtreecommitdiff
path: root/hal/usart.cpp
diff options
context:
space:
mode:
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;
}