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

embedded-hal-1.0
Christoph Groß 2018-09-19 16:23:41 +02:00
parent aa412ba220
commit 9fc4c0c1c7
1 changed files with 2 additions and 2 deletions

View File

@ -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)?;