-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi,
The current implementation of cyw43_arch_poll includes a GPIO IRQ mechanism presumably for triggering activity. The trigger for this is currently ignored (commented out) and the poll is executed every time anyway, however the IRQ setup and the ISR is left in place to unnecessarily consume resource.
Can this be tidied? And I'm with whoever left the note for Graham ... there's a polling function which is called regularly, do we really need to complicate things with an IRQ in this model ... surely you could just check the GPIO interrupt status in the polling function and avoid the unnecessary ISR?
Lee.