X-Git-Url: https://git.sur5r.net/?p=freertos;a=blobdiff_plain;f=FreeRTOS%2FDemo%2FWIN32-MSVC%2Fmain_blinky.c;h=065561b9ee959a8ef918cdd7b01c34213097d655;hp=5bd6311e026bb51518c73471135d8affcc5f6ed2;hb=4efbaaa525444f6483a9c6765459c1a05b6f92b1;hpb=92f04df81b2bbeed4284668fc50e455731202555 diff --git a/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c b/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c index 5bd6311e0..065561b9e 100644 --- a/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c +++ b/FreeRTOS/Demo/WIN32-MSVC/main_blinky.c @@ -160,6 +160,8 @@ const TickType_t xTimerPeriod = mainTIMER_SEND_FREQUENCY_MS; NULL, /* The timer's ID is not used. */ prvQueueSendTimerCallback );/* The function executed when the timer expires. */ + xTimerStart( xTimer, 0 ); /* The scheduler has not started so use a block time of 0. */ + /* Start the tasks and timer running. */ vTaskStartScheduler(); }