mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-08-09 22:53:44 +00:00
Fix typo in mbedtls_freertos_port.c
This commit is contained in:
committed by
Paul Bartell
parent
fb11284c77
commit
8eef4be870
@@ -28,6 +28,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "FreeRTOSConfig.h"
|
||||
|
||||
/* FreeRTOS includes. */
|
||||
#include "FreeRTOS.h"
|
||||
#include "semphr.h"
|
||||
@@ -111,7 +113,7 @@ static void mbedtls_platform_mutex_init( mbedtls_threading_mutex_t * pMutex )
|
||||
* storage is provided. */
|
||||
|
||||
pMutex->mutexHandle = xSemaphoreCreateMutexStatic( &( pMutex->mutexStorage ) );
|
||||
#elif( configSUPPORT_DYNAMIC ALLOCATION == 1 )
|
||||
#elif( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
|
||||
pMutex->mutexHandle = xSemaphoreCreateMutex();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user