mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Fixed missing renaming of .width() and height() methods
This commit is contained in:
+2
-2
@@ -331,8 +331,8 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn send_resolution(&mut self) -> Result<(), ERR> {
|
fn send_resolution(&mut self) -> Result<(), ERR> {
|
||||||
let w = self.get_width();
|
let w = self.width();
|
||||||
let h = self.get_height();
|
let h = self.height();
|
||||||
|
|
||||||
self.command(Command::RESOLUTION_SETTING)?;
|
self.command(Command::RESOLUTION_SETTING)?;
|
||||||
self.send_data((w >> 8) as u8)?;
|
self.send_data((w >> 8) as u8)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user