diff --git a/src/ble.rs b/src/ble.rs index b5a11fc..c41cf82 100644 --- a/src/ble.rs +++ b/src/ble.rs @@ -193,10 +193,10 @@ pub async fn run( "Starting advertising and GATT service for {}", features.join(",") ); - let server = Server::new_with_config(PeripheralConfig { + let server = Server::new_with_config(GapConfig::Peripheral(PeripheralConfig { name: &name, - appearance: &appearance::UNKNOWN, // maybe appearance::outdoor_sports_activity::LOCATION_AND_NAVIGATION_DISPLAY ? - }) + appearance: &appearance::UNKNOWN, + })) .unwrap(); let _ = embassy_futures::join::join(ble_task(runner), async {