We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06ee44e + f4add07 commit 27b8513Copy full SHA for 27b8513
components/esp_hw_support/include/esp_cpu.h
@@ -364,7 +364,7 @@ FORCE_INLINE_ATTR bool esp_cpu_intr_has_handler(int intr_num)
364
#ifdef __XTENSA__
365
has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
366
#else
367
- has_handler = intr_handler_get(intr_num);
+ has_handler = intr_handler_get(intr_num) != NULL;
368
#endif
369
return has_handler;
370
}
0 commit comments