<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
</scannerConfigBuildInfo>\r
</storageModule>\r
+ <storageModule moduleId="refreshScope"/>\r
</cproject>\r
* See the comments at the top of main.c, main_full.c and main_low_power.c for\r
* more information.\r
*/\r
-#define configCREATE_LOW_POWER_DEMO 0\r
+#define configCREATE_LOW_POWER_DEMO 0\r
\r
/* Some configuration is dependent on the demo being built. */\r
#if( configCREATE_LOW_POWER_DEMO == 0 )\r
/* The period after which the check timer will expire, in ms, provided no errors\r
have been reported by any of the standard demo tasks. ms are converted to the\r
equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
/* The period at which the check timer will expire, in ms, if an error has been\r
reported in one of the standard demo tasks. ms are converted to the equivalent\r
1 tab == 4 spaces!\r
*/\r
\r
-#warning Not functioning correctly above -O1 optimisation level.\r
-\r
/* Standard includes. */\r
#include "limits.h"\r
\r
/* The period after which the check timer will expire, in ms, provided no errors\r
have been reported by any of the standard demo tasks. ms are converted to the\r
equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
-#define mainNO_ERROR_CHECK_TASK_PERIOD ( 3000UL / portTICK_PERIOD_MS )\r
+#define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 3000UL )\r
\r
/* The period at which the check timer will expire, in ms, if an error has been\r
reported in one of the standard demo tasks. ms are converted to the equivalent\r
{\r
portENTER_CRITICAL();\r
InitUart0();\r
- portENTER_CRITICAL();\r
+ portEXIT_CRITICAL();\r
xTaskCreate( vUART0Task, "UART1", configMINIMAL_STACK_SIZE * 3, ( void * ) NULL, uxPriority, &UART_TaskHandle );\r
}\r
}\r