Fix
This commit is contained in:
parent
d8c9a3b159
commit
8ebb1f97d6
@ -92,6 +92,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- UART: Make `AtCmdConfig` and `ConfigError` non-exhaustive (#2851)
|
||||
- UART: Make `AtCmdConfig` use builder-lite pattern (#2851)
|
||||
- UART: Fix naming violations for `DataBits`, `Parity`, and `StopBits` enum variants (#2893)
|
||||
- Renamed / changed some I2C error variants (#2844, #2862)
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@ -1730,7 +1730,7 @@ impl Driver<'_> {
|
||||
let retval = if interrupts.time_out().bit_is_set() {
|
||||
Err(Error::Timeout)
|
||||
} else if interrupts.nack().bit_is_set() {
|
||||
Err(Error::AcknowledgeCheckFailed)
|
||||
Err(Error::AcknowledgeCheckFailed(AcknowledgeCheckFailedReason::Unknown))
|
||||
} else if interrupts.arbitration_lost().bit_is_set() {
|
||||
Err(Error::ArbitrationLost)
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user