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:
Weltenprinz
2025-05-13 08:05:56 +02:00
committed by Konstantin Kondrashov
parent c06fa310cf
commit f24025f798

View File

@ -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;
}