mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Put ets_isr_* functions into IRAM. Original fns were in ROM so people may expect them to work when flash cache is out.
This commit is contained in:

committed by
Ivan Grokhotkov

parent
8f3c74353a
commit
d5c57d1d10
@@ -726,12 +726,12 @@ void esp_intr_noniram_enable()
|
||||
//equivalents here.
|
||||
|
||||
|
||||
void ets_isr_unmask(unsigned int mask) {
|
||||
xt_ints_on(mask);
|
||||
void IRAM_ATTR ets_isr_unmask(unsigned int mask) {
|
||||
xt_ints_on(mask);
|
||||
}
|
||||
|
||||
void ets_isr_mask(unsigned int mask) {
|
||||
xt_ints_off(mask);
|
||||
void IRAM_ATTR ets_isr_mask(unsigned int mask) {
|
||||
xt_ints_off(mask);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user