]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/FreeRTOS_tick_config.c
MSP430:
[freertos] / FreeRTOS / Demo / CORTEX_A9_Zynq_ZC702 / RTOSDemo / src / FreeRTOS_tick_config.c
index d6b6d1e441efcd5c768f10d539034a1f020c8060..c90e66ce73839b139880f91d6f1b86e7963ce49a 100644 (file)
@@ -69,7 +69,7 @@
 \r
 /* FreeRTOS includes. */\r
 #include "FreeRTOS.h"\r
-#include "Task.h"\r
+#include "task.h"\r
 \r
 /* Xilinx includes. */\r
 #include "xscutimer.h"\r
@@ -122,6 +122,9 @@ const uint8_t ucRisingEdge = 3;
        /* Enable Auto reload mode. */\r
        XScuTimer_EnableAutoReload( &xTimer );\r
 \r
+       /* Ensure there is no prescale. */\r
+       XScuTimer_SetPrescaler( &xTimer, 0 );\r
+\r
        /* Load the timer counter register. */\r
        XScuTimer_LoadTimer( &xTimer, XSCUTIMER_CLOCK_HZ / configTICK_RATE_HZ );\r
 \r