/* This function will be called in High prio ISRs. Returns true if the current core was in ISR context before calling into high prio ISR context.  */
BaseType_t IRAM_ATTR xPortInterruptedFromISRContext()
/* This function will be called in High prio ISRs. Returns true if the current core was in ISR context before calling into high prio ISR context.  */
BaseType_t IRAM_ATTR xPortInterruptedFromISRContext()
{
	return (port_interruptNesting[xPortGetCoreID()] != 0);
}