tasks: oled_ui: tweak icon displays again

This commit is contained in:
2025-12-07 12:54:54 +01:00
parent b98ca91f24
commit 49c36c8aa8

View File

@@ -78,7 +78,7 @@ impl<'a> SensorIcon<'a> {
match self.state { match self.state {
SensorState::AcquiringFix => { SensorState::AcquiringFix => {
if (self.frame / 10) % 2 == 0 { if (self.frame / 10) % 2 == 0 {
Image::new(self.image.off, self.anchor).draw(target) Image::new(self.image.on, self.anchor).draw(target)
} else { } else {
Ok(()) Ok(())
} }
@@ -91,7 +91,7 @@ impl<'a> SensorIcon<'a> {
}, },
SensorState::Degraded => { SensorState::Degraded => {
if (self.frame / 10) % 2 == 0 { if (self.frame / 10) % 2 == 0 {
Image::new(self.image.on, self.anchor).draw(target) Image::new(self.image.off, self.anchor).draw(target)
} else { } else {
Ok(()) Ok(())
} }