summaryrefslogtreecommitdiff
path: root/usart.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-09-04 02:14:22 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-09-04 02:14:22 +0200
commit5a6e0b83fbbc3d3841be3384d32c0d4d6aec070c (patch)
tree750283d1e082a7f2de3a353820e6e6c6d6892a83 /usart.h
parentadb9868498b93f89ae875df764d475c9f5c16049 (diff)
Transmit gyro values over zigbee.
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);