Skip to content

cyw43_arch_poll unneccessary IRQ's #919

@essele

Description

@essele

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions