Skip to content

Commit 91b566f

Browse files
committed
!test! pbio/drv/bluetooth_stm32_cc2640: Don't restart observing.
1 parent 3198a85 commit 91b566f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/pbio/drv/bluetooth/bluetooth_stm32_cc2640.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,14 +2309,6 @@ PROCESS_THREAD(pbdrv_bluetooth_spi_process, ev, data) {
23092309
for (;;) {
23102310
PROCESS_WAIT_UNTIL({
23112311
for (;;) {
2312-
if (observe_restart_enabled && etimer_expired(&observe_restart_timer)) {
2313-
static pbio_task_t observe_restart_stop_task;
2314-
static pbio_task_t observe_restart_start_task;
2315-
pbdrv_bluetooth_start_observing_callback_t callback = observe_callback;
2316-
2317-
pbdrv_bluetooth_stop_observing(&observe_restart_stop_task);
2318-
pbdrv_bluetooth_start_observing(&observe_restart_start_task, callback);
2319-
}
23202312

23212313
pbio_task_t *current_task = list_head(task_queue);
23222314

0 commit comments

Comments
 (0)