Skip to content

Commit 34e89db

Browse files
committed
Update wording of threadsafe background explanation
1 parent 1316c3c commit 34e89db

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

bluetooth/ble_doorbell/client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ int main() {
299299
#if 1
300300
btstack_run_loop_execute();
301301
#else
302-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
303-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
302+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
303+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
304304
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
305305
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
306306
while(true) {

bluetooth/ble_doorbell/server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ int main() {
176176
#if 1
177177
btstack_run_loop_execute();
178178
#else
179-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
180-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
179+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
180+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
181181
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
182182
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
183183
while(true) {

bluetooth/ble_pointer/ble_pointer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ int main(void) {
458458
#if 1
459459
btstack_run_loop_execute();
460460
#else
461-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
462-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
461+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
462+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
463463
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
464464
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
465465
while(true) {

bluetooth/ble_secure_temp_sensor/client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ int main() {
550550
#if 1
551551
btstack_run_loop_execute();
552552
#else
553-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
554-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
553+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
554+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
555555
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
556556
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
557557
while(true) {

bluetooth/ble_secure_temp_sensor/server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ int main() {
430430
#if 1
431431
btstack_run_loop_execute();
432432
#else
433-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
434-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
433+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
434+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
435435
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
436436
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
437437
while(true) {

bluetooth/ble_temp_sensor/client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ int main() {
281281
#if 1
282282
btstack_run_loop_execute();
283283
#else
284-
// This example uses the 'threadsafe background` method, where BT work is handled in a low priority IRQ, so it
285-
// is fine to call bt_stack_run_loop_execute() but equally you can continue executing user code. You must not
284+
// This example uses the `threadsafe background` method, where BT work is handled in a low priority IRQ, so it
285+
// is possible to continue executing user code instead of calling bt_stack_run_loop_execute(). You must not
286286
// perform any BT work in user code (e.g calling `hci_power_control(HCI_POWER_OFF)`) - those operations must be
287287
// performed inside the run loop (e.g. using `btstack_run_loop_execute_on_main_thread`).
288288
while(true) {

0 commit comments

Comments
 (0)