fix clippy warnings
This commit was merged in pull request #57.
This commit is contained in:
@@ -16,7 +16,6 @@ use embedded_graphics::{
|
||||
pixelcolor::Rgb565,
|
||||
prelude::*,
|
||||
primitives::Rectangle,
|
||||
text::Text,
|
||||
};
|
||||
|
||||
use alloc::format;
|
||||
@@ -39,7 +38,7 @@ impl Navigable for FlashInfoView {
|
||||
.primary_display
|
||||
.clear(Rgb565::BLACK)
|
||||
.map_err(PrimaryDisplayError::from)?;
|
||||
let style = MonoTextStyle::new(&FONT_10X20, Rgb565::WHITE);
|
||||
let _style = MonoTextStyle::new(&FONT_10X20, Rgb565::WHITE);
|
||||
let mut magic_bytes: [u8; MAGIC_REGION.size] = [0; MAGIC_REGION.size];
|
||||
peripherals
|
||||
.store
|
||||
|
||||
Reference in New Issue
Block a user