/*\r
- * FreeRTOS Kernel V10.0.1\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
+ * FreeRTOS Kernel V10.2.1\r
+ * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
*\r
* Permission is hereby granted, free of charge, to any person obtaining a copy of\r
* this software and associated documentation files (the "Software"), to deal in\r
/* Create the software timer, but don't start it yet. */\r
xTimer = xTimerCreate( "Timer", /* The text name assigned to the software timer - for debug only as it is not used by the kernel. */\r
xTimerPeriod, /* The period of the software timer in ticks. */\r
- pdFALSE, /* xAutoReload is set to pdFALSE, so this is a one shot timer. */\r
+ pdFALSE, /* xAutoReload is set to pdFALSE, so this is a one-shot timer. */\r
NULL, /* The timer's ID is not used. */\r
prvQueueSendTimerCallback );/* The function executed when the timer expires. */\r
\r
+ xTimerStart( xTimer, 0 ); /* The scheduler has not started so use a block time of 0. */\r
+\r
/* Start the tasks and timer running. */\r
vTaskStartScheduler();\r
}\r