summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2016-03-10 13:55:59 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2016-03-10 15:41:00 +0000
commit7e84a0006864891e99adb50675bb83b50c2ecff1 (patch)
tree1891564b9866a999891fa7bbd6bad99350a6319f
parent489b0ff793be2aabaecdddbaca2b8e899887d496 (diff)
Bluetooth/sample: Fix exit after first indication sent
Change-Id: Ia958fa1c1013660e7281dc91e77ea742c753e104 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
-rw-r--r--samples/bluetooth/peripheral/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bluetooth/peripheral/src/main.c b/samples/bluetooth/peripheral/src/main.c
index cf7d5cc04..5a6866a9f 100644
--- a/samples/bluetooth/peripheral/src/main.c
+++ b/samples/bluetooth/peripheral/src/main.c
@@ -551,7 +551,7 @@ void main(void)
/* Vendor indication simulation */
if (simulate_vnd) {
if (indicating) {
- return;
+ continue;
}
ind_params.attr = &vnd_attrs[2];