Browse Source

stm32/modnetwork: Remove redundant call to nimble_poll in lwip poll.

The bluetooth stack has its own dedicated polling function, see
mod_bluetooth_nimble_poll_wrapper().
pull/5672/head
Damien George 5 years ago
parent
commit
44aa5b2200
  1. 5
      ports/stm32/modnetwork.c

5
ports/stm32/modnetwork.c

@ -63,11 +63,6 @@ STATIC void pyb_lwip_poll(void) {
// Run the lwIP internal updates // Run the lwIP internal updates
sys_check_timeouts(); sys_check_timeouts();
#if MICROPY_BLUETOOTH_NIMBLE
extern void nimble_poll(void);
nimble_poll();
#endif
} }
void mod_network_lwip_poll_wrapper(uint32_t ticks_ms) { void mod_network_lwip_poll_wrapper(uint32_t ticks_ms) {

Loading…
Cancel
Save