Skip to content
Commit a9f23ccc authored by Johan Hedberg's avatar Johan Hedberg Committed by Benjamin Cabé
Browse files

samples: bluetooth: peripheral_sc_only: Fix restarting advertising



We need to call `bt_le_adv_start()` again to make sure the device remains
connectable after a disconnection event. The appropriate place to do it is
in the `recycled()` callback.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent 3ae8a9cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment