diff options
author | Guillaume Pinot <texitoi@texitoi.eu> | 2020-08-28 13:05:39 +0200 |
---|---|---|
committer | Guillaume Pinot <texitoi@texitoi.eu> | 2020-08-28 13:05:39 +0200 |
commit | 06f5c7f9ce96ce7d36cb370400ea54db9ad7d6cb (patch) | |
tree | 37243c91b263a699f2df1ccb63caea2f0a612d0d /firmware/src | |
parent | e69a3af13925467a5ee2e997e8e90a2ea6862d3d (diff) |
functional keyboard!
Diffstat (limited to 'firmware/src')
-rw-r--r-- | firmware/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/main.rs b/firmware/src/main.rs index 7aae184..36ed65b 100644 --- a/firmware/src/main.rs +++ b/firmware/src/main.rs @@ -176,7 +176,7 @@ const APP: () = { let pins = cortex_m::interrupt::free(move |cs| { (pa9.into_alternate_af1(cs), pa10.into_alternate_af1(cs)) }); - let mut serial = serial::Serial::usart1(c.device.USART1, pins, 115_200.bps(), &mut rcc); + let mut serial = serial::Serial::usart1(c.device.USART1, pins, 38_400.bps(), &mut rcc); serial.listen(serial::Event::Rxne); let (tx, rx) = serial.split(); |