mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -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
|
@ -137,11 +137,11 @@
|
|||
|
||||
/* The rate at which the on board LED will toggle when there is/is not an
|
||||
error. */
|
||||
#define mainNO_ERROR_FLASH_PERIOD ( ( portTickType ) 3000 / portTICK_RATE_MS )
|
||||
#define mainERROR_FLASH_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainNO_ERROR_FLASH_PERIOD ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_FLASH_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The rate at which the idle hook sends data to the USB port. */
|
||||
#define mainUSB_TX_FREQUENCY ( 100 / portTICK_RATE_MS )
|
||||
#define mainUSB_TX_FREQUENCY ( 100 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The string that is transmitted down the USB port. */
|
||||
#define mainFIRST_TX_CHAR 'a'
|
||||
|
@ -246,8 +246,8 @@ static void prvSetupHardware( void )
|
|||
|
||||
static void vErrorChecks( void *pvParameters )
|
||||
{
|
||||
portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;
|
||||
portTickType xLastWakeTime;
|
||||
TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;
|
||||
TickType_t xLastWakeTime;
|
||||
|
||||
/* The parameters are not used. */
|
||||
( void ) pvParameters;
|
||||
|
@ -313,7 +313,7 @@ long lReturn = ( long ) pdPASS;
|
|||
|
||||
void vApplicationIdleHook( void )
|
||||
{
|
||||
static portTickType xLastTx = 0;
|
||||
static TickType_t xLastTx = 0;
|
||||
char cTxByte;
|
||||
|
||||
/* The idle hook simply sends a string of characters to the USB port.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue