fw-rust: Refactor everything
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Remove avr-eeprom dependency for now and introduce events.
This commit is contained in:
finga 2022-03-30 19:29:32 +02:00
parent 6cd8df515d
commit fdd1f4636d
9 changed files with 459 additions and 263 deletions

View file

@ -1,4 +1,4 @@
use super::Screen;
use super::Draw;
use crate::{
assets::{ONDERS_ORG, SACRED_CHAO},
lcd::Lcd,
@ -9,7 +9,7 @@ use nb::block;
pub struct Splash;
impl Screen for Splash {
impl Draw for Splash {
fn draw(&self, lcd: &mut Lcd) {
let mut delay = Delay::<MHz8>::new();