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.
2 parents 562fc79 + 3395533 commit b8e2b61Copy full SHA for b8e2b61
cores/nRF5/freertos/Source/include/projdefs.h
@@ -38,7 +38,7 @@ typedef void (*TaskFunction_t)( void * );
38
overridden by a macro of the same name defined in FreeRTOSConfig.h in case the
39
definition here is not suitable for your application. */
40
#ifndef pdMS_TO_TICKS
41
- #define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
+ #define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( uint64_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
42
#endif
43
44
#define pdFALSE ( ( BaseType_t ) 0 )
0 commit comments