fix(freertos_stats): remove volatile c++ 20 deprecated warning (#11158)
This commit is contained in:
parent
cc2632b3bb
commit
6273c4ffd8
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ void printRunningTasks(Print &printer) {
|
|||
#endif
|
||||
configRUN_TIME_COUNTER_TYPE ulTotalRunTime = 0;
|
||||
TaskStatus_t *pxTaskStatusArray = NULL;
|
||||
volatile UBaseType_t uxArraySize = 0, x = 0;
|
||||
volatile UBaseType_t uxArraySize = 0;
|
||||
uint32_t x = 0;
|
||||
const char *taskStates[] = {"Running", "Ready", "Blocked", "Suspended", "Deleted", "Invalid"};
|
||||
|
||||
// Take a snapshot of the number of tasks in case it changes while this function is executing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue