mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04: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:
parent
8f3c74353a
commit
d5c57d1d10
@ -726,12 +726,12 @@ void esp_intr_noniram_enable()
|
|||||||
//equivalents here.
|
//equivalents here.
|
||||||
|
|
||||||
|
|
||||||
void ets_isr_unmask(unsigned int mask) {
|
void IRAM_ATTR ets_isr_unmask(unsigned int mask) {
|
||||||
xt_ints_on(mask);
|
xt_ints_on(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ets_isr_mask(unsigned int mask) {
|
void IRAM_ATTR ets_isr_mask(unsigned int mask) {
|
||||||
xt_ints_off(mask);
|
xt_ints_off(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user