Revert "Regression Bug Fix: Fix Incorrect Return of MSVC-MingW portYIELD_FROM_ISR (#1207)"

This reverts commit 3ddfffda04.
This commit is contained in:
Ben Nicholls 2025-01-06 16:59:59 +11:00
parent 3a7b3082cf
commit 802b2fce42

View file

@ -112,7 +112,7 @@ extern volatile BaseType_t xInsideInterrupt;
/* Simulated interrupts return pdFALSE if no context switch should be performed,
* or a non-zero number if a context switch should be performed. */
#define portYIELD_FROM_ISR( x ) return x
#define portYIELD_FROM_ISR( x ) ( void ) x
#define portEND_SWITCHING_ISR( x ) portYIELD_FROM_ISR( ( x ) )
void vPortCloseRunningThread( void * pvTaskToDelete,