Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6273c4f

Browse filesBrowse files
authored
fix(freertos_stats): remove volatile c++ 20 deprecated warning (espressif#11158)
1 parent cc2632b commit 6273c4f
Copy full SHA for 6273c4f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎cores/esp32/freertos_stats.cpp

Copy file name to clipboardExpand all lines: cores/esp32/freertos_stats.cpp
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ void printRunningTasks(Print &printer) {
3131
#endif
3232
configRUN_TIME_COUNTER_TYPE ulTotalRunTime = 0;
3333
TaskStatus_t *pxTaskStatusArray = NULL;
34-
volatile UBaseType_t uxArraySize = 0, x = 0;
34+
volatile UBaseType_t uxArraySize = 0;
35+
uint32_t x = 0;
3536
const char *taskStates[] = {"Running", "Ready", "Blocked", "Suspended", "Deleted", "Invalid"};
3637

3738
// Take a snapshot of the number of tasks in case it changes while this function is executing.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.