Change the default baud rate of the UART driver

This commit is contained in:
ivmarkov 2025-01-01 17:25:48 +00:00
parent 2a3d59e9cd
commit 32e85463d7
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Make the UART config to ESP-IDF C config reusable outside the UART driver (for OpenThread)
- Re-use the SPI config struct of the SPI driver (for OpenThread)
- Add a `usb_serial` peripheral to the `Peripherals` struct for MCUs that do support the USB-serial-jtag peripheral (#503)
- UART default baud rate changed from 19'200 to 115'200
### Added
- Docs: Add some docstrings for ADC module. (#455)

View File

@ -544,7 +544,7 @@ pub mod config {
pub const fn new() -> Config {
Config {
mode: Mode::UART,
baudrate: Hertz(19_200),
baudrate: Hertz(115_200),
data_bits: DataBits::DataBits8,
parity: Parity::ParityNone,
stop_bits: StopBits::STOP1,