mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4
Merges https://github.com/espressif/esp-idf/pull/15942 Closes https://github.com/espressif/esp-idf/issues/15941
This commit is contained in:
committed by
Konstantin Kondrashov
parent
c06fa310cf
commit
f24025f798
@ -364,7 +364,7 @@ FORCE_INLINE_ATTR bool esp_cpu_intr_has_handler(int intr_num)
|
||||
#ifdef __XTENSA__
|
||||
has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
|
||||
#else
|
||||
has_handler = intr_handler_get(intr_num);
|
||||
has_handler = intr_handler_get(intr_num) != NULL;
|
||||
#endif
|
||||
return has_handler;
|
||||
}
|
||||
|
Reference in New Issue
Block a user