Skip to content

Commit 620d33a

Browse files
committed
Fix
1 parent 93b46d1 commit 620d33a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

esp-hal/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8585
- Updated `esp-pacs` with support for Wi-Fi on the ESP32 and made the peripheral non virtual
8686
- `SpiBitOrder`, `SpiDataMode`, `SpiMode` were renamed to `BitOder`, `DataMode` and `Mode` (#2828)
8787
- `crate::Mode` was renamed to `crate::DriverMode` (#2828)
88-
- Renamed some I2C error variants (#2844)
88+
- Renamed / changed some I2C error variants (#2844, #2862)
8989

9090
### Fixed
9191

esp-hal/src/i2c/master/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ impl Driver<'_> {
16951695
let retval = if interrupts.time_out().bit_is_set() {
16961696
Err(Error::Timeout)
16971697
} else if interrupts.nack().bit_is_set() {
1698-
Err(Error::AcknowledgeCheckFailed)
1698+
Err(Error::AcknowledgeCheckFailed(AcknowledgeCheckFailedReason::Unknown))
16991699
} else if interrupts.arbitration_lost().bit_is_set() {
17001700
Err(Error::ArbitrationLost)
17011701
} else {

0 commit comments

Comments
 (0)