Final commit before tagging - cosmetic changes only.

This commit is contained in:
Richard Barry 2015-08-12 16:45:24 +00:00
parent 3291f5a08d
commit 1b010fbaa7
8 changed files with 96 additions and 96 deletions

View file

@ -435,7 +435,7 @@ proc generate {os_handle} {
puts $config_file "void FreeRTOS_SetupTickInterrupt( void );"
puts $config_file "#define configSETUP_TICK_INTERRUPT() FreeRTOS_SetupTickInterrupt()\n"
puts $config_file "void FreeRTOS_ClearTickInterrupt( void );"
puts $config_file "#define portCLEAR_TICK_INTERRUPT() FreeRTOS_ClearTickInterrupt()\n"
puts $config_file "#define configCLEAR_TICK_INTERRUPT() FreeRTOS_ClearTickInterrupt()\n"
}
# end of if $proctype == "ps7_cortexa9"

View file

@ -138,9 +138,8 @@ int main( void )
for more details. */
for( ;; );
}
/*-----------------------------------------------------------*/
static void prvTxTask( void *pvParameters )
{
const TickType_t x500ms = pdMS_TO_TICKS( 500UL );
@ -156,10 +155,12 @@ uint32_t ulValueToSend = 0;
xQueueSend( xQueue, /* The queue being written to. */
&ulValueToSend, /* The address of the data being sent. */
0UL ); /* The block time. */
ulValueToSend++;
}
}
/*-----------------------------------------------------------*/
static void prvRxTask( void *pvParameters )
{
uint32_t ulValueReceived;
@ -172,7 +173,7 @@ uint32_t ulValueReceived;
portMAX_DELAY ); /* Wait without a timeout for data. */
/* Print the received data. */
xil_printf( "Rx task received %u\r\n", ( unsigned int ) ulValueReceived );
xil_printf( "Rx task received %d\r\n", ( int ) ulValueReceived );
}
}