Skip to content

Commit

Permalink
fix(uart): blocking uart tx
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 24, 2024
1 parent 5f23f8f commit ce56f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ This crate is a working-in-progress and not ready for use.
- [x] PLL setting (only PLL0 is supported, since others might be unsafe)
- [x] GPIO, Flex, Input, Output
- [x] RTT support (defmt, defmt-rtt)
- [ ] UART support
- [x] UART support
- [x] blocking TX
- [x] blocking RX

- MCUs
- HPM5300 - currently it's the only supported series
Expand Down
7 changes: 1 addition & 6 deletions src/uart/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,15 +710,10 @@ fn configure(
if enable_rx {
r.idle_cfg().modify(|w| {
w.set_rxen(true);
w.set_rx_idle_thr(10); // 10bit
});
}

/*
r.mcr().modify(|w| {
w.set_loop_(false);
});
*/

Ok(())
}

Expand Down

0 comments on commit ce56f35

Please sign in to comment.