From 06f5c7f9ce96ce7d36cb370400ea54db9ad7d6cb Mon Sep 17 00:00:00 2001 From: Guillaume Pinot Date: Fri, 28 Aug 2020 13:05:39 +0200 Subject: functional keyboard! --- firmware/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/src') 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(); -- cgit v1.2.3