Skip to content

Commit 27b8513

Browse files
author
Jiang Jiang Jian
committed
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
2 parents 06ee44e + f4add07 commit 27b8513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esp_hw_support/include/esp_cpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ FORCE_INLINE_ATTR bool esp_cpu_intr_has_handler(int intr_num)
364364
#ifdef __XTENSA__
365365
has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
366366
#else
367-
has_handler = intr_handler_get(intr_num);
367+
has_handler = intr_handler_get(intr_num) != NULL;
368368
#endif
369369
return has_handler;
370370
}

0 commit comments

Comments
 (0)