mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
[hal]: cleaned up interrupt mask functions
* Functions for setting and clearing interrupts as well as function to read interrupt mask should be clearer now. * Using hal layer interrupt set and clear functions in esp_wifi component
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "esp_phy_init.h"
|
||||
#include "soc/dport_reg.h"
|
||||
#include "soc/syscon_reg.h"
|
||||
#include "hal/interrupt_controller_hal.h"
|
||||
#include "phy_init_data.h"
|
||||
#include "driver/periph_ctrl.h"
|
||||
#include "nvs.h"
|
||||
@@ -667,8 +668,8 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
|
||||
._set_intr = set_intr_wrapper,
|
||||
._clear_intr = clear_intr_wrapper,
|
||||
._set_isr = set_isr_wrapper,
|
||||
._ints_on = xt_ints_on,
|
||||
._ints_off = xt_ints_off,
|
||||
._ints_on = interrupt_controller_hal_enable_interrupts,
|
||||
._ints_off = interrupt_controller_hal_disable_interrupts,
|
||||
._is_from_isr = is_from_isr_wrapper,
|
||||
._spin_lock_create = spin_lock_create_wrapper,
|
||||
._spin_lock_delete = free,
|
||||
|
Reference in New Issue
Block a user