mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-28 23:34:03 +00:00
Custom xPortInIsrContext() for nRF52
This commit is contained in:
parent
81c703dfc1
commit
42bbbaa72b
@ -149,3 +149,5 @@
|
|||||||
// No serial ports on this board - ONLY use segger in memory console
|
// No serial ports on this board - ONLY use segger in memory console
|
||||||
#define USE_SEGGER
|
#define USE_SEGGER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define xPortInIsrContext() ((SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) == 0 ? pdFALSE : pdTRUE)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user