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

screen: Make screen feature work without spat, update splash screen

This commit is contained in:
Jannik Beyerstedt 2026-09-25 13:22:56 +02:00
commit 0bf9e552ff
3 changed files with 86 additions and 34 deletions

View file

@ -12,8 +12,21 @@ pub(crate) fn get_rx_feature_list() -> Vec<&'static str> {
features.push("denm");
}
if cfg!(feature = "spat") {
features.push("mapem");
features.push("spatem");
features.push("map");
features.push("spat");
}
features
}
#[allow(unused)]
pub(crate) fn get_tx_feature_list() -> Vec<&'static str> {
let mut features = alloc::vec![];
if cfg!(feature = "cam_tx") {
features.push("auto-cam");
}
if cfg!(feature = "uart") {
features.push("uart-tx");
}
features