]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_LM3S811_IAR/main.c
UpdUpdate IAR projects to use Embedded Workbench V5.11.
[freertos] / Demo / CORTEX_LM3S811_IAR / main.c
index 4647f801f5d57e9ecc154321b71210fe47fcb6ce..7c435e9936df33768e2eea3e9da3a762ce75daf2 100644 (file)
@@ -254,7 +254,7 @@ static void prvSetupHardware( void )
        GPIODirModeSet( GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1, GPIO_DIR_MODE_HW );\r
 \r
        /* Configure the UART for 8-N-1 operation. */\r
-       UARTConfigSet( UART0_BASE, mainBAUD_RATE, UART_CONFIG_WLEN_8 | UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_ONE );\r
+       UARTConfigSetExpClk( UART0_BASE, SysCtlClockGet(), mainBAUD_RATE, UART_CONFIG_WLEN_8 | UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_ONE );\r
 \r
        /* We don't want to use the fifo.  This is for test purposes to generate\r
        as many interrupts as possible. */\r