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

ble: Move feature listing to own module

This commit is contained in:
Jannik Beyerstedt 2026-09-25 13:09:54 +02:00
commit 6991ff5ec5
3 changed files with 22 additions and 12 deletions

View file

@ -120,20 +120,9 @@ pub async fn run(
..
} = stack.build();
let mut features = alloc::vec![];
if cfg!(feature = "cam") {
features.push("cam");
}
if cfg!(feature = "denm") {
features.push("denm");
}
if cfg!(feature = "spat") {
features.push("mapem");
features.push("spatem");
}
info!(
"Starting advertising and GATT service for {}",
features.join(",")
crate::util::get_rx_feature_list().join(",")
);
let server = Server::new_with_config(GapConfig::Peripheral(PeripheralConfig {
name: &name,