We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62bd622 commit f5fda29Copy full SHA for f5fda29
portable/MSVC-MingW/portmacro.h
@@ -112,7 +112,7 @@ extern volatile BaseType_t xInsideInterrupt;
112
113
/* Simulated interrupts return pdFALSE if no context switch should be performed,
114
* or a non-zero number if a context switch should be performed. */
115
-#define portYIELD_FROM_ISR( x ) return x
+#define portYIELD_FROM_ISR( x ) ( void ) x
116
#define portEND_SWITCHING_ISR( x ) portYIELD_FROM_ISR( ( x ) )
117
118
void vPortCloseRunningThread( void * pvTaskToDelete,
0 commit comments