You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove cast from configMINIMAL_STACK_SIZE (FreeRTOS#971)
The configMINIMAL_STACK_SIZE was defined to PTHREAD_STACK_MIN with cast
to unsigned short. This cast cab be too restrictive and result in
truncation on some platforms. This commit removes this unnecessary cast.
Related issue - FreeRTOS#967
Signed-off-by: Gaurav Aggarwal <[email protected]>
Copy file name to clipboardExpand all lines: FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/FreeRTOSConfig.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@
43
43
#defineconfigUSE_TICK_HOOK 1
44
44
#defineconfigUSE_DAEMON_TASK_STARTUP_HOOK 1
45
45
#defineconfigTICK_RATE_HZ ( 1000 ) /* In this non-real time simulated environment the tick frequency has to be at least a multiple of the Win32 tick frequency, and therefore very slow. */
46
-
#defineconfigMINIMAL_STACK_SIZE ( ( unsigned short ) PTHREAD_STACK_MIN )/* In this simulated case, the stack only has to hold one small structure as the real stack is part of the win32 thread. */
0 commit comments