Fix previous Delay Commit

Some stuff was forgotten in the previous commit
This commit is contained in:
Chris
2018-10-10 13:45:35 +02:00
parent fabc5f262e
commit 2f4ebfecab
4 changed files with 6 additions and 8 deletions
+1 -2
View File
@@ -285,14 +285,13 @@ where
}
}
impl<SPI, CS, BUSY, DC, RST, D, ERR> EPD4in2<SPI, CS, BUSY, DC, RST>
impl<SPI, CS, BUSY, DC, RST, ERR> EPD4in2<SPI, CS, BUSY, DC, RST>
where
SPI: Write<u8, Error = ERR>,
CS: OutputPin,
BUSY: InputPin,
DC: OutputPin,
RST: OutputPin,
D: DelayUs<u16> + DelayMs<u16>,
{
fn command(&mut self, command: Command) -> Result<(), ERR> {
self.interface.cmd(command)