Reset error message on next check and update interval to 10s
@@ -265,7 +265,7 @@ int main_full( void )
static void prvCheckTask( void *pvParameters )
{
TickType_t xNextWakeTime;
-const TickType_t xCycleFrequency = pdMS_TO_TICKS( 2000UL );
+const TickType_t xCycleFrequency = pdMS_TO_TICKS( 10000UL );
HeapStats_t xHeapStats;
/* Just to remove compiler warning. */
@@ -400,6 +400,9 @@ HeapStats_t xHeapStats;
printf( "%s - tick count %u \r\n",
pcStatusMessage,
xTaskGetTickCount() );
+
+ // Reset the error condition
+ pcStatusMessage = "OK: No errors";
}
}
/*-----------------------------------------------------------*/
