mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 00:37:44 -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 )
|
||||
{
|
||||
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. */
|
||||
|
@ -399,7 +399,10 @@ HeapStats_t xHeapStats;
|
|||
|
||||
printf( "%s - tick count %u \r\n",
|
||||
pcStatusMessage,
|
||||
xTaskGetTickCount() );
|
||||
xTaskGetTickCount() );
|
||||
|
||||
// Reset the error condition
|
||||
pcStatusMessage = "OK: No errors";
|
||||
}
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue