Merge branch 'bugfix/freertos_portmux_debug' into 'master'

freertos: fix compilation errors with portMUX debugging enabled

See merge request !1392
This commit is contained in:
Ivan Grokhotkov
2017-10-17 04:44:04 +08:00
4 changed files with 11 additions and 3 deletions

View File

@@ -2840,7 +2840,7 @@ void vTaskSwitchContext( void )
//Exit critical region manually as well: release the mux now, interrupts will be re-enabled when we
//exit the function.
#ifdef CONFIG_FREERTOS_PORTMUX_DEBUG
vPortCPUReleaseMutex( &xTaskQueueMutex, function, line );
vPortCPUReleaseMutex( &xTaskQueueMutex, __FUNCTION__, __LINE__ );
#else
vPortCPUReleaseMutex( &xTaskQueueMutex );
#endif