mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-29 05:12:09 +00:00
Change the default baud rate of the UART driver
This commit is contained in:
parent
2a3d59e9cd
commit
32e85463d7
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user