summaryrefslogtreecommitdiff
path: root/usart.h
diff options
context:
space:
mode:
Diffstat (limited to 'usart.h')
-rw-r--r--usart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usart.h b/usart.h
index ab7fb3f..8fde39a 100644
--- a/usart.h
+++ b/usart.h
@@ -9,7 +9,7 @@ void interrupt<Interrupt::USART1>() {
void usart_enable() {
RCC.enable(RCC.USART1);
- USART1.BRR = 7500; // 9600 baud
+ USART1.BRR = 625; // 115200 baud
USART1.CR1 = 0x202c;
Interrupt::enable(Interrupt::USART1);