Custom xPortInIsrContext() for nRF52

This commit is contained in:
WillyJL 2025-09-24 04:19:11 +02:00
parent 81c703dfc1
commit 42bbbaa72b
No known key found for this signature in database

View File

@ -149,3 +149,5 @@
// No serial ports on this board - ONLY use segger in memory console
#define USE_SEGGER
#endif
#define xPortInIsrContext() ((SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) == 0 ? pdFALSE : pdTRUE)