mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
Merge branch 'contrib/github_pr_15942_v5.5' into 'release/v5.5'
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4 (GitHub PR) (v5.5) See merge request espressif/esp-idf!39117
This commit is contained in:
@ -364,7 +364,7 @@ FORCE_INLINE_ATTR bool esp_cpu_intr_has_handler(int intr_num)
|
|||||||
#ifdef __XTENSA__
|
#ifdef __XTENSA__
|
||||||
has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
|
has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
|
||||||
#else
|
#else
|
||||||
has_handler = intr_handler_get(intr_num);
|
has_handler = intr_handler_get(intr_num) != NULL;
|
||||||
#endif
|
#endif
|
||||||
return has_handler;
|
return has_handler;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user