From 9fc4c0c1c7c6c183828b7af0589da745335480df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gro=C3=9F?= Date: Wed, 19 Sep 2018 16:23:41 +0200 Subject: [PATCH] Fixed missing renaming of .width() and height() methods --- src/epd4in2/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/epd4in2/mod.rs b/src/epd4in2/mod.rs index 1b5ad9e..e7f0d2f 100644 --- a/src/epd4in2/mod.rs +++ b/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)?;