mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 16:57:41 -04:00
Reset error message on next check and update interval to 10s
This commit is contained in:
parent
04cf45fdbc
commit
f78ee3536a
1 changed files with 5 additions and 2 deletions
|
@ -265,7 +265,7 @@ int main_full( void )
|
||||||
static void prvCheckTask( void *pvParameters )
|
static void prvCheckTask( void *pvParameters )
|
||||||
{
|
{
|
||||||
TickType_t xNextWakeTime;
|
TickType_t xNextWakeTime;
|
||||||
const TickType_t xCycleFrequency = pdMS_TO_TICKS( 2000UL );
|
const TickType_t xCycleFrequency = pdMS_TO_TICKS( 10000UL );
|
||||||
HeapStats_t xHeapStats;
|
HeapStats_t xHeapStats;
|
||||||
|
|
||||||
/* Just to remove compiler warning. */
|
/* Just to remove compiler warning. */
|
||||||
|
@ -400,6 +400,9 @@ HeapStats_t xHeapStats;
|
||||||
printf( "%s - tick count %u \r\n",
|
printf( "%s - tick count %u \r\n",
|
||||||
pcStatusMessage,
|
pcStatusMessage,
|
||||||
xTaskGetTickCount() );
|
xTaskGetTickCount() );
|
||||||
|
|
||||||
|
// Reset the error condition
|
||||||
|
pcStatusMessage = "OK: No errors";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue