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,3 @@
|
|||
use super::Draw;
|
||||
use crate::{
|
||||
assets::{ONDERS_ORG, SACRED_CHAO},
|
||||
lcd::Lcd,
|
||||
|
@ -9,8 +8,8 @@ use nb::block;
|
|||
|
||||
pub struct Splash;
|
||||
|
||||
impl Draw for Splash {
|
||||
fn draw(&self, lcd: &mut Lcd) {
|
||||
impl Splash {
|
||||
pub fn draw(&self, lcd: &mut Lcd) {
|
||||
let mut delay = Delay::<MHz8>::new();
|
||||
|
||||
for (i, page) in SACRED_CHAO.iter().enumerate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue