mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Tidy up and prepare for release.
This commit is contained in:
parent
4e1b587af3
commit
7a83c44856
4 changed files with 66 additions and 28 deletions
|
@ -61,7 +61,7 @@
|
|||
/* Delays used within the dice functionality. All delays are defined in milliseconds. */
|
||||
#define diceDELAY_BETWEEN_RANDOM_NUMBERS_ms ( 20 / portTICK_RATE_MS )
|
||||
#define diceSHAKE_TIME ( ( 2000 / portTICK_RATE_MS ) / diceDELAY_BETWEEN_RANDOM_NUMBERS_ms )
|
||||
#define diceSHORT_PAUSE_BEFORE_SHAKE ( 1000 / portTICK_RATE_MS )
|
||||
#define diceSHORT_PAUSE_BEFORE_SHAKE ( 250 / portTICK_RATE_MS )
|
||||
#define diceDELAY_WHILE_DISPLAYING_RESULT ( 5000 / portTICK_RATE_MS )
|
||||
|
||||
/* Macro to access the display ports. */
|
||||
|
@ -180,6 +180,8 @@ extern void vSuspendFlashTasks( unsigned char ucIndex, short sSuspendTasks );
|
|||
|
||||
/* Clear the display then resume the tasks or co-routines that were using
|
||||
the segments of the display. */
|
||||
*pucDisplayOutput[ ucIndex ] = 0xff;
|
||||
vSuspendFlashTasks( ucIndex, pdFALSE );
|
||||
}
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue