Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Feb 6, 2025
1 parent 9a0f680 commit 93ec1f3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion esp-hal/src/lcd_cam/cam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions esp-hal/src/lcd_cam/lcd/dpi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions esp-hal/src/lcd_cam/lcd/i8080.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93ec1f3

Please sign in to comment.