Skip to content

Commit

Permalink
Revert "Regression Bug Fix: Fix Incorrect Return of MSVC-MingW portYI…
Browse files Browse the repository at this point in the history
…ELD_FROM_ISR (FreeRTOS#1207)"

This reverts commit 3ddfffd.
  • Loading branch information
Ben Nicholls committed Jan 6, 2025
1 parent 3a7b308 commit 802b2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portable/MSVC-MingW/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 802b2fc

Please sign in to comment.