Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

WIP screen: Different slash screen for

This commit is contained in:
Jannik Beyerstedt 2026-09-25 13:11:50 +02:00
commit 95c2376caf
2 changed files with 37 additions and 29 deletions

View file

@ -58,6 +58,7 @@ mod io;
mod screen;
#[cfg(feature = "gnss_ubx")]
mod ubx;
mod util;
const WIFI_CHANNEL: radio::Channel = 180;
const WIFI_TXPOWER: i8 = 10; // dBm, 2..20

View file

@ -614,6 +614,8 @@ where
self.clear_all()?;
#[cfg(feature = "spat")]
{
let sig_width = i32::from(self.size.width) / 3;
let circle_dia = 50;
let circle_margin = (sig_width - circle_dia) / 2;
@ -649,6 +651,11 @@ where
text::Alignment::Center,
)
.draw(&mut self.target)?;
}
// show features
let enabled_features = crate::util::get_rx_feature_list();
let enabled_tx_features = crate::util::get_tx_feature_list();
Ok(())
}