Skip to content

Commit

Permalink
Clean up display init
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 6, 2024
1 parent 511c3bd commit 77a10d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/board/drivers/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ where
.await
.ok());

self.display
.init_with_addr_mode(AddrMode::Horizontal)
.await?;
self.display.clear(BinaryColor::Off)?;
self.display.init().await?;
self.display.flush().await?;

Ok(())
Expand Down

0 comments on commit 77a10d1

Please sign in to comment.