diff options
author | Richard Barry <ribarry@amazon.com> | 2014-08-29 13:53:58 +0000 |
---|---|---|
committer | Richard Barry <ribarry@amazon.com> | 2014-08-29 13:53:58 +0000 |
commit | ff5d3512b34672656546f9ab367da98c782b23a6 (patch) | |
tree | ddea0168c171c65a8a4b409334233c868bedffe3 /FreeRTOS/Source/include/projdefs.h | |
parent | 6507701fdf9a628bac5a3c53ef435539f888ff41 (diff) | |
download | freertos-git-ff5d3512b34672656546f9ab367da98c782b23a6.tar.gz |
Core kernel code:
- Re-introduce the ability to give a mutex from an ISR.
Common demo code:
- Add additional tests into the GenQTest files for priority inheritance and using a mutex from an ISR.
Diffstat (limited to 'FreeRTOS/Source/include/projdefs.h')
-rw-r--r-- | FreeRTOS/Source/include/projdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Source/include/projdefs.h b/FreeRTOS/Source/include/projdefs.h index f7b9a0e3e..22c810b40 100644 --- a/FreeRTOS/Source/include/projdefs.h +++ b/FreeRTOS/Source/include/projdefs.h @@ -73,7 +73,7 @@ typedef void (*TaskFunction_t)( void * );
/* Converts a time in milliseconds to a time in ticks. */
-#define pdMS_TO_TICKS( xTimeInMs ) ( ( ( TickType_t ) xTimeInMs * configTICK_RATE_HZ ) / ( TickType_t ) 1000 )
+#define pdMS_TO_TICKS( xTimeInMs ) ( ( ( TickType_t ) ( xTimeInMs ) * configTICK_RATE_HZ ) / ( TickType_t ) 1000 )
#define pdFALSE ( ( BaseType_t ) 0 )
#define pdTRUE ( ( BaseType_t ) 1 )
|