mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-29 22:48:37 -04:00
Update the demo directory to use the version 8 type naming conventions.
This commit is contained in:
parent
c6d8892b0d
commit
5a2a8fc319
639 changed files with 3127 additions and 3470 deletions
|
@ -105,7 +105,7 @@
|
|||
Changes from V2.0.0
|
||||
|
||||
+ Delay periods are now specified using variables and constants of
|
||||
portTickType rather than unsigned long.
|
||||
TickType_t rather than unsigned long.
|
||||
*/
|
||||
|
||||
/* Scheduler include files. */
|
||||
|
@ -126,11 +126,11 @@ priority. */
|
|||
/* The period between executions of the check task before and after an error
|
||||
has been discovered. If an error has been discovered the check task runs
|
||||
more frequently - increasing the LED flash rate. */
|
||||
#define mainNO_ERROR_CHECK_PERIOD ( ( portTickType ) 1000 / portTICK_RATE_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( portTickType ) 100 / portTICK_RATE_MS )
|
||||
#define mainNO_ERROR_CHECK_PERIOD ( ( TickType_t ) 1000 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( TickType_t ) 100 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The period for which mainRESET_LED remain on every reset. */
|
||||
#define mainRESET_LED_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainRESET_LED_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The LED that is toggled whenever a character is transmitted.
|
||||
mainCOMM_TX_RX_LED + 1 will be toggled every time a character is received. */
|
||||
|
@ -182,7 +182,7 @@ void main( void )
|
|||
|
||||
static void vErrorChecks( void *pvParameters )
|
||||
{
|
||||
portTickType xDelayTime = mainNO_ERROR_CHECK_PERIOD;
|
||||
TickType_t xDelayTime = mainNO_ERROR_CHECK_PERIOD;
|
||||
volatile unsigned long ulDummy = 3UL;
|
||||
|
||||
/* Toggle the LED so we can see when a reset occurs. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue