Updated embedded-nal and removed (now-redundent) Interface struct
This commit is contained in:
parent
d6574b8c23
commit
55097322a0
5 changed files with 14 additions and 71 deletions
|
|
@ -74,10 +74,6 @@ impl<SpiBus: ActiveBus, HostImpl: Host> Device<SpiBus, HostImpl> {
|
|||
Ok(phy[0].into())
|
||||
}
|
||||
|
||||
pub fn into_interface(self) -> Interface<SpiBus, HostImpl> {
|
||||
self.into()
|
||||
}
|
||||
|
||||
pub fn release_socket(&mut self, socket: Socket) {
|
||||
self.sockets.set_bit(socket.index.into(), true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue