Skip to content

Commit

Permalink
le: reset cancel_follow when le_phy is reinvoked
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeryan committed Jun 24, 2018
1 parent cc2991c commit 4148172
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/bluetooth_rxtx/le_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ void le_phy_main(void) {
le_sys_init();
le_cc2400_init_rf();

cancel_follow = 0;

while (requested_mode == MODE_BT_FOLLOW_LE) {
le_rx_t *packet = NULL;
if (queue_remove(&packet_queue, (void **)&packet)) {
Expand Down

0 comments on commit 4148172

Please sign in to comment.