Browse Source

Fixed missing renaming of .width() and height() methods

embedded-hal-1.0
Christoph Groß 7 years ago
parent
commit
9fc4c0c1c7
  1. 4
      src/epd4in2/mod.rs

4
src/epd4in2/mod.rs

@ -331,8 +331,8 @@ where
}
fn send_resolution(&mut self) -> Result<(), ERR> {
let w = self.get_width();
let h = self.get_height();
let w = self.width();
let h = self.height();
self.command(Command::RESOLUTION_SETTING)?;
self.send_data((w >> 8) as u8)?;

Loading…
Cancel
Save