diff options
Diffstat (limited to 'embassy-rp/src/qmi_cs1.rs')
| -rw-r--r-- | embassy-rp/src/qmi_cs1.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/embassy-rp/src/qmi_cs1.rs b/embassy-rp/src/qmi_cs1.rs index ada420432..b8ae41e35 100644 --- a/embassy-rp/src/qmi_cs1.rs +++ b/embassy-rp/src/qmi_cs1.rs | |||
| @@ -36,17 +36,13 @@ impl<'d> QmiCs1<'d> { | |||
| 36 | } | 36 | } |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | trait SealedInstance { | 39 | trait SealedInstance {} |
| 40 | |||
| 41 | } | ||
| 42 | 40 | ||
| 43 | /// QMI CS1 instance trait. | 41 | /// QMI CS1 instance trait. |
| 44 | #[allow(private_bounds)] | 42 | #[allow(private_bounds)] |
| 45 | pub trait Instance: SealedInstance + PeripheralType {} | 43 | pub trait Instance: SealedInstance + PeripheralType {} |
| 46 | 44 | ||
| 47 | impl SealedInstance for peripherals::QMI_CS1 { | 45 | impl SealedInstance for peripherals::QMI_CS1 {} |
| 48 | |||
| 49 | } | ||
| 50 | 46 | ||
| 51 | impl Instance for peripherals::QMI_CS1 {} | 47 | impl Instance for peripherals::QMI_CS1 {} |
| 52 | 48 | ||
