diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index 1492e8c633f..5c492d318ad 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `esp_hal::time::{Rate, Duration, Instant}` (#3083) - Async support for ADC oneshot reads for ESP32C2, ESP32C3, ESP32C6 and ESP32H2 (#2925, #3082) - `ESP_HAL_CONFIG_XTAL_FREQUENCY` configuration. For now, chips other than ESP32 and ESP32-C2 have a single option only. (#3054) +- Added more validation to UART and SPI. User can now specify the baudrate tolerance of UART config (#3074) ### Changed diff --git a/esp-hal/src/lcd_cam/cam.rs b/esp-hal/src/lcd_cam/cam.rs index eaea3fd2350..49adb391a5e 100644 --- a/esp-hal/src/lcd_cam/cam.rs +++ b/esp-hal/src/lcd_cam/cam.rs @@ -169,7 +169,7 @@ impl<'d> Camera<'d> { /// /// # Errors /// - /// A [`ConfigError`] variant will be returned if the frequency passed in + /// [`ConfigError::Clock`] will be returned if the frequency passed in /// `Config` is too low. pub fn apply_config(&mut self, config: &Config) -> Result<(), ConfigError> { let clocks = Clocks::get(); diff --git a/esp-hal/src/lcd_cam/lcd/dpi.rs b/esp-hal/src/lcd_cam/lcd/dpi.rs index 69ff50894e4..38d6f6b7ea3 100644 --- a/esp-hal/src/lcd_cam/lcd/dpi.rs +++ b/esp-hal/src/lcd_cam/lcd/dpi.rs @@ -172,8 +172,8 @@ where /// /// # Errors /// - /// A [`ConfigError`] variant will be returned if the frequency passed in - /// `Config` is too low. + /// [`ConfigError::Clock`] variant will be returned if the frequency passed + /// in `Config` is too low. pub fn apply_config(&mut self, config: &Config) -> Result<(), ConfigError> { let clocks = Clocks::get(); // Due to https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf diff --git a/esp-hal/src/lcd_cam/lcd/i8080.rs b/esp-hal/src/lcd_cam/lcd/i8080.rs index 5a742f41bb3..af21afd0cfc 100644 --- a/esp-hal/src/lcd_cam/lcd/i8080.rs +++ b/esp-hal/src/lcd_cam/lcd/i8080.rs @@ -137,8 +137,8 @@ where /// /// # Errors /// - /// A [`ConfigError`] variant will be returned if the frequency passed in - /// `Config` is too low. + /// [`ConfigError::Clock`] variant will be returned if the frequency passed + /// in `Config` is too low. pub fn apply_config(&mut self, config: &Config) -> Result<(), ConfigError> { let clocks = Clocks::get(); // Due to https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf