summaryrefslogtreecommitdiff
path: root/examples/src/bin/ble_bas_peripheral.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2020-12-04 03:32:11 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2020-12-04 03:34:18 +0100
commitec66eafb4085194f9a820a26222c5074f72ecf11 (patch)
tree13c95b3a41d671ee43b0d314380db40b1d16eece /examples/src/bin/ble_bas_peripheral.rs
parentaf8a6b1cfa5d952f283ec29272aba4dfcc275d9c (diff)
downloadnrf-softdevice-ec66eafb4085194f9a820a26222c5074f72ecf11.zip
l2cap: allow setting rx flow control credits
Diffstat (limited to 'examples/src/bin/ble_bas_peripheral.rs')
-rw-r--r--examples/src/bin/ble_bas_peripheral.rs2
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 a33b5b3..53b4e34 100644
--- a/examples/src/bin/ble_bas_peripheral.rs
+++ b/examples/src/bin/ble_bas_peripheral.rs
@@ -52,7 +52,7 @@ async fn bluetooth_task(sd: &'static Softdevice, config: peripheral::Config) {
adv_data,
scan_data,
};
- let conn = unwrap!(peripheral::advertise(sd, adv, &config,).await);
+ let conn = unwrap!(peripheral::advertise(sd, adv, &config).await);
info!("advertising done!");