File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11name =FreeRTOS
2- version =10.3.0-1
2+ version =10.3.0-2
33author =Richard Barry <info@freertos.org>
44maintainer =Phillip Stevens <phillip.stevens@gmail.com>
55sentence =Real Time Operating System implemented for AVR (Uno, Leonardo, Mega).
Original file line number Diff line number Diff line change @@ -38,7 +38,11 @@ typedef void (*TaskFunction_t)( void * );
3838overridden by a macro of the same name defined in FreeRTOSConfig.h in case the
3939definition here is not suitable for your application. */
4040#ifndef pdMS_TO_TICKS
41- #define pdMS_TO_TICKS ( xTimeInMs ) ( ( TickType_t ) ( ( ( xTimeInMs ) * (uint32_t) configTICK_RATE_HZ ) / 1000 ) )
41+ #if configUSE_16_BIT_TICKS == 1
42+ #define pdMS_TO_TICKS ( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( uint32_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
43+ #else
44+ #define pdMS_TO_TICKS ( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
45+ #endif
4246#endif
4347
4448#define pdFALSE ( ( BaseType_t ) 0 )
@@ -59,7 +63,7 @@ definition here is not suitable for your application. */
5963 #define configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 0
6064#endif
6165
62- #if ( configUSE_16_BIT_TICKS == 1 )
66+ #if configUSE_16_BIT_TICKS == 1
6367 #define pdINTEGRITY_CHECK_VALUE 0x5a5a
6468#else
6569 #define pdINTEGRITY_CHECK_VALUE 0x5a5a5a5aUL
You can’t perform that action at this time.
0 commit comments