summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2014-02-11 12:04:59 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2014-02-11 12:04:59 +0000
commit012a7c9b61ece5aec5c3a98e728e59fdcc9329ae (patch)
tree602a4c29560a57b40068e082bdd770d46aba2b2b /FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
parent284b2ecc28ff3da5a1bde899ace6304998ca5ec7 (diff)
downloadfreertos-012a7c9b61ece5aec5c3a98e728e59fdcc9329ae.tar.gz
Update the demo directory to use the version 8 type naming conventions.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2202 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c')
-rw-r--r--FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c b/FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
index 96c7b65ed..35faee2ba 100644
--- a/FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
+++ b/FreeRTOS/Demo/ARM7_AT91SAM7S64_IAR/USB/USBSample.c
@@ -168,9 +168,9 @@ little odd. */
#define usbMAX_TX_MESSAGE_SIZE ( 128 )
#define usbRX_COUNT_MASK ( ( unsigned long ) 0x7ff )
#define AT91C_UDP_STALLSENT AT91C_UDP_ISOERROR
-#define usbSHORTEST_DELAY ( ( portTickType ) 1 )
-#define usbINIT_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )
-#define usbSHORT_DELAY ( ( portTickType ) 50 / portTICK_RATE_MS )
+#define usbSHORTEST_DELAY ( ( TickType_t ) 1 )
+#define usbINIT_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
+#define usbSHORT_DELAY ( ( TickType_t ) 50 / portTICK_PERIOD_MS )
#define usbEND_POINT_RESET_MASK ( ( unsigned long ) 0x0f )
#define usbDATA_INC ( ( char ) 5 )
#define usbEXPECTED_NUMBER_OF_BYTES ( ( unsigned long ) 8 )
@@ -542,7 +542,7 @@ static xISRStatus xISRMessages[ usbQUEUE_LENGTH + 1 ];
static xTX_MESSAGE pxCharsForTx;
/* Queue used to pass messages between the ISR and the task. */
-static xQueueHandle xUSBInterruptQueue;
+static QueueHandle_t xUSBInterruptQueue;
/* ISR entry has to be written in the asm file as we want a context switch
to occur from within the ISR. See the port documentation on the FreeRTOS.org