diff options
author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2009-01-31 14:47:50 +0000 |
---|---|---|
committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2009-01-31 14:47:50 +0000 |
commit | c3c741edb6345405a1d5145e7612909fba578f8c (patch) | |
tree | feb76c5d65ed79b9cd30d409f73c4775bd4f576f /Demo/MB96350_Softune_Dice_Kit/DiceTask.c | |
parent | 0b0221289973b81928a46e1af626764f6ef63c94 (diff) | |
download | freertos-c3c741edb6345405a1d5145e7612909fba578f8c.tar.gz freertos-c3c741edb6345405a1d5145e7612909fba578f8c.tar.bz2 freertos-c3c741edb6345405a1d5145e7612909fba578f8c.tar.xz |
Tidy up and prepare for release.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@661 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Demo/MB96350_Softune_Dice_Kit/DiceTask.c')
-rw-r--r-- | Demo/MB96350_Softune_Dice_Kit/DiceTask.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c index 4b803037..c727a3e6 100644 --- a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c +++ b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c @@ -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 );
}
}
/*-----------------------------------------------------------*/
|