Skip to content

Commit 1d4e2fa

Browse files
committed
Rename main function to _main in BLE server implementation for clarity and to avoid conflicts with potential future main entry points.
1 parent 9781622 commit 1d4e2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cla/ble/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use tokio::time::{sleep, Duration};
77

88
#[cfg(target_os = "linux")]
99
#[tokio::main]
10-
async fn main() -> anyhow::Result<()> {
10+
async fn _main() -> anyhow::Result<()> {
1111
let session = bluer::Session::new().await?;
1212
let adapter = session.default_adapter().await?;
1313
adapter.set_powered(true).await?;

0 commit comments

Comments
 (0)