fw-rust: Remove unnecessary Draw
trait
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
9994b1fc40
commit
7f14974146
4 changed files with 6 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
use super::{Draw, Event, Screens, Setup, Splash};
|
||||
use super::{Event, Screens, Setup, Splash};
|
||||
use crate::{
|
||||
assets::{OFF, ON, PLL_A, PLL_B},
|
||||
lcd::Lcd,
|
||||
|
@ -93,10 +93,8 @@ impl Home {
|
|||
|
||||
Event::None
|
||||
}
|
||||
}
|
||||
|
||||
impl Draw for Home {
|
||||
fn draw(&self, lcd: &mut Lcd) {
|
||||
pub fn draw(&self, lcd: &mut Lcd) {
|
||||
match &self.active {
|
||||
Selection::Ch1 => {
|
||||
lcd.print_inverted(0, 0, "CH1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue