Fix bug in irq_remove_shared_handler and add test #823 #825

Merged
kilograham merged 2 commits from shared_irq_handler into develop 2022-05-16 13:44:15 -05:00
kilograham commented 2022-05-12 18:05:52 -05:00 (Migrated from github.com)

fixes #823

fixes #823
Wren6991 (Migrated from github.com) approved these changes 2022-05-16 05:31:11 -05:00
Wren6991 (Migrated from github.com) left a comment

So the bug is that we search for the correct slot pointer to free, but then use an index calculated with the initial value of the pointer? Fix seems fine.

I added a few comments to parts of irq_handler_chain.S that were a bit mysterious to me when I read through the code.

So the bug is that we search for the correct slot pointer to free, but then use an index calculated with the initial value of the pointer? Fix seems fine. I added a few comments to parts of irq_handler_chain.S that were a bit mysterious to me when I read through the code.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!825
No description provided.