mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-28 01:47:21 +01:00
Disable irq before removing handler in cyw43_irq_deinit (#2185)
This commit is contained in:
parent
863f5446e1
commit
09482ed7a0
1 changed files with 1 additions and 1 deletions
|
|
@ -63,8 +63,8 @@ uint32_t cyw43_irq_deinit(__unused void *param) {
|
|||
#ifndef NDEBUG
|
||||
assert(get_core_num() == async_context_core_num(cyw43_async_context));
|
||||
#endif
|
||||
gpio_remove_raw_irq_handler(CYW43_PIN_WL_HOST_WAKE, cyw43_gpio_irq_handler);
|
||||
cyw43_set_irq_enabled(false);
|
||||
gpio_remove_raw_irq_handler(CYW43_PIN_WL_HOST_WAKE, cyw43_gpio_irq_handler);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue