diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-07-07 15:45:59 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-07-07 15:46:30 +0200 |
| commit | 01ef03f446f59bacff8a617d96f497f9bc46902e (patch) | |
| tree | 070505e651844f274560d9f0a33e69498ee7b818 | |
| parent | 399e7a47916a0f7cf8f7da654aa09eebe924054b (diff) | |
stm32/i2c: impl ErrorType for all.
| -rw-r--r-- | embassy-stm32/src/i2c/v2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs index d7aa65a16..3161d9d53 100644 --- a/embassy-stm32/src/i2c/v2.rs +++ b/embassy-stm32/src/i2c/v2.rs | |||
| @@ -851,7 +851,7 @@ mod eh1 { | |||
| 851 | } | 851 | } |
| 852 | } | 852 | } |
| 853 | 853 | ||
| 854 | impl<'d, T: Instance, TXDMA: TxDma<T>, RXDMA: RxDma<T>> embedded_hal_1::i2c::ErrorType for I2c<'d, T, TXDMA, RXDMA> { | 854 | impl<'d, T: Instance, TXDMA, RXDMA> embedded_hal_1::i2c::ErrorType for I2c<'d, T, TXDMA, RXDMA> { |
| 855 | type Error = Error; | 855 | type Error = Error; |
| 856 | } | 856 | } |
| 857 | 857 | ||
