mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
Merge branch 'contrib/github_pr_15942' into 'master'
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4 (GitHub PR) Closes IDFGH-15283 See merge request espressif/esp-idf!39116
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