summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-02-20 14:23:44 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-06 12:35:20 +1100
commit44aa5b220073830e3cc1477c803cac7acabfcc17 (patch)
tree2fa0857695836448782c005d8924eba06dd1a648
parent8db5d2d1f13aa6413be11bc13c94df72296a0070 (diff)
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().
-rw-r--r--ports/stm32/modnetwork.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ports/stm32/modnetwork.c b/ports/stm32/modnetwork.c
index 8f10612d8..4419bf476 100644
--- a/ports/stm32/modnetwork.c
+++ b/ports/stm32/modnetwork.c
@@ -63,11 +63,6 @@ STATIC void pyb_lwip_poll(void) {
// Run the lwIP internal updates
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) {