Fixed missing renaming of .width() and height() methods
parent
aa412ba220
commit
9fc4c0c1c7
|
|
@ -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)?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue