summaryrefslogtreecommitdiff
path: root/examples/src/bin/ble_advertise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/bin/ble_advertise.rs')
-rw-r--r--examples/src/bin/ble_advertise.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/src/bin/ble_advertise.rs b/examples/src/bin/ble_advertise.rs
index b65ae79..28b3723 100644
--- a/examples/src/bin/ble_advertise.rs
+++ b/examples/src/bin/ble_advertise.rs
@@ -56,9 +56,9 @@ fn main() -> ! {
let config = nrf_softdevice::Config {
clock: Some(raw::nrf_clock_lf_cfg_t {
- source: raw::NRF_CLOCK_LF_SRC_XTAL as u8,
- rc_ctiv: 0,
- rc_temp_ctiv: 0,
+ source: raw::NRF_CLOCK_LF_SRC_RC as u8,
+ rc_ctiv: 4,
+ rc_temp_ctiv: 2,
accuracy: 7,
}),
conn_gap: Some(raw::ble_gap_conn_cfg_t {