mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
stm32/ospi: remove unused trait.
This commit is contained in:
parent
43d51884e2
commit
623d3ec306
@ -969,17 +969,6 @@ fn finish_dma(regs: Regs) {
|
||||
});
|
||||
}
|
||||
|
||||
trait RegsExt {
|
||||
fn dr_ptr<W>(&self) -> *mut W;
|
||||
}
|
||||
|
||||
impl RegsExt for Regs {
|
||||
fn dr_ptr<W>(&self) -> *mut W {
|
||||
let dr = self.dr();
|
||||
dr.as_ptr() as *mut W
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) trait SealedInstance {
|
||||
const REGS: Regs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user