implement error view which displays all error on the display

This commit was merged in pull request #48.
This commit is contained in:
2026-08-29 20:19:14 +00:00
parent a31c818b37
commit ef10eec216
17 changed files with 316 additions and 92 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
use alloc::boxed::Box;
use core::error;
use crate::peripherals::Peripherals;
use core::future;
@@ -27,9 +29,10 @@ impl Navigable for JournalView {
&self,
outputs: &mut Outputs,
_: &Peripherals,
) -> impl core::future::Future<Output = ()> + Send {
) -> impl core::future::Future<Output = Result<(), Box<dyn error::Error>>> + Send {
async move {
outputs.primary_display.clear(Rgb565::BLACK).unwrap();
Ok(())
}
}