diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2020-09-16 21:40:46 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2020-09-16 21:40:46 +0200 |
commit | 9aa2ad0377b4b75f7a8602a51bf9d4eea2a36e84 (patch) | |
tree | 293b1c95e5217b68fdde3a18502e0414061e2fa5 /examples/src/bin | |
parent | 68eb8b222c2ae61f0bbb2df1839f62886f5f8623 (diff) | |
download | nrf-softdevice-9aa2ad0377b4b75f7a8602a51bf9d4eea2a36e84.zip |
Fix comment
Diffstat (limited to 'examples/src/bin')
-rw-r--r-- | examples/src/bin/ble_bas_peripheral.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/ble_bas_peripheral.rs b/examples/src/bin/ble_bas_peripheral.rs index ed70584..8373d6d 100644 --- a/examples/src/bin/ble_bas_peripheral.rs +++ b/examples/src/bin/ble_bas_peripheral.rs @@ -96,7 +96,7 @@ async fn bluetooth_task(sd: &'static Softdevice) { info!("advertising done!"); - // Detach the connection so it isn't disconnected when dropped. + // Run the GATT server on the connection. This returns when the connection gets disconnected. let res = gatt_server::run(&conn, &server, |e| match e { BatteryServiceEvent::BatteryLevelWrite(data) => { info!("wrote battery level: {:u8}", data) |