Skip to content

Commit

Permalink
Revert "bluetooth/nimble: Schedule hci poll on eventq_put."
Browse files Browse the repository at this point in the history
This reverts commit 2e1cd87.
  • Loading branch information
pi-anl committed Mar 27, 2024
1 parent 0b200ce commit 85abfd6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions extmod/nimble/nimble/nimble_npl_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

#include "extmod/modbluetooth.h"
#include "extmod/nimble/modbluetooth_nimble.h"
#include "mpbthciport.h" // for port specific mp_bluetooth_hci_poll_now()

#define DEBUG_OS_printf(...) // printf(__VA_ARGS__)
#define DEBUG_MALLOC_printf(...) // printf(__VA_ARGS__)
Expand Down Expand Up @@ -294,8 +293,6 @@ void ble_npl_eventq_put(struct ble_npl_eventq *evq, struct ble_npl_event *ev) {
}
}
OS_EXIT_CRITICAL(sr);
// poll bluetooth to handle any new tasks from the new event.
mp_bluetooth_hci_poll_now();
}

struct ble_npl_event *ble_npl_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo) {
Expand Down

0 comments on commit 85abfd6

Please sign in to comment.