/*\r
- * FreeRTOS Kernel V10.0.0\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
+ * FreeRTOS Kernel V10.3.0\r
+ * Copyright (C) 2020 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
* subject to the following conditions:\r
*\r
* The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software. If you wish to use our Amazon\r
- * FreeRTOS name, please do so in a fair use way that does not cause confusion.\r
+ * copies or substantial portions of the Software.\r
*\r
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\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
is it an expected value? Normally calling printf() from a task is not\r
a good idea. Here there is lots of stack space and only one task is\r
using console IO so it is ok. However, note the comments at the top of\r
- this file about the risks of making Windows system calls (such as \r
+ this file about the risks of making Windows system calls (such as\r
console output) from a FreeRTOS task. */\r
if( ulReceivedValue == mainVALUE_SENT_FROM_TASK )\r
{\r