aboutsummaryrefslogtreecommitdiff
path: root/cyw43/src/bluetooth.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-10-01 21:17:46 +0200
committerDario Nieuwenhuis <[email protected]>2025-12-19 12:29:50 +0100
commit62ed44f99af9e33d689c8308149f8f992176895f (patch)
treeee9f4352e70815e97e424bb534c1c096242b9af0 /cyw43/src/bluetooth.rs
parent3214021ed5ae17b96ac006c0f460e222502e411d (diff)
Update to embedded-io 0.7
Diffstat (limited to 'cyw43/src/bluetooth.rs')
-rw-r--r--cyw43/src/bluetooth.rs8
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
493impl 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
499impl core::error::Error for Error {}
500
493impl<'d> embedded_io_async::ErrorType for BtDriver<'d> { 501impl<'d> embedded_io_async::ErrorType for BtDriver<'d> {
494 type Error = Error; 502 type Error = Error;
495} 503}