Cleanup of WaveshareInterface

-Removed update_and_display_frame
-removed update_and_display_partial_frame

-Renamed get_width and get_height to just width and height
This commit is contained in:
Christoph Groß
2018-09-19 16:19:57 +02:00
parent b0699b088d
commit fa6bce5ee7
4 changed files with 13 additions and 49 deletions
+2 -2
View File
@@ -108,11 +108,11 @@ where
RST: OutputPin,
Delay: DelayUs<u16> + DelayMs<u16>,
{
fn get_width(&self) -> u16 {
fn width(&self) -> u16 {
WIDTH
}
fn get_height(&self) -> u16 {
fn height(&self) -> u16 {
HEIGHT
}