diff options
Diffstat (limited to 'cyw43/src')
| -rw-r--r-- | cyw43/src/bluetooth.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cyw43/src/bluetooth.rs b/cyw43/src/bluetooth.rs index 332b7048d..256451fae 100644 --- a/cyw43/src/bluetooth.rs +++ b/cyw43/src/bluetooth.rs | |||
| @@ -490,6 +490,14 @@ impl From<FromHciBytesError> for Error { | |||
| 490 | } | 490 | } |
| 491 | } | 491 | } |
| 492 | 492 | ||
| 493 | impl core::fmt::Display for Error { | ||
| 494 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ||
| 495 | core::fmt::Debug::fmt(self, f) | ||
| 496 | } | ||
| 497 | } | ||
| 498 | |||
| 499 | impl core::error::Error for Error {} | ||
| 500 | |||
| 493 | impl<'d> embedded_io_async::ErrorType for BtDriver<'d> { | 501 | impl<'d> embedded_io_async::ErrorType for BtDriver<'d> { |
| 494 | type Error = Error; | 502 | type Error = Error; |
| 495 | } | 503 | } |
