]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/TaskNotify.c
MSP430:
[freertos] / FreeRTOS / Demo / Common / Minimal / TaskNotify.c
index f963a758b81222c87d5f4de8a4ece1ab05d6d23c..7bf9c53e5abd36aee1e674b9529a76d67b2094a0 100644 (file)
@@ -426,8 +426,8 @@ TickType_t xPeriod;
                        xPeriod = xMinPeriod;\r
                }\r
 \r
+               /* Change the timer period and start the timer. */\r
                xTimerChangePeriod( xTimer, xPeriod, portMAX_DELAY );\r
-               xTimerStart( xTimer, portMAX_DELAY );\r
 \r
                /* Block waiting for the notification again with a different period.\r
                Sometimes the period will be higher than the tasks block time, sometimes\r