Skip to content

Commit

Permalink
Fix warning on heap tracing. (project-chip#8385)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored and Nikita committed Sep 23, 2021
1 parent 9a336ba commit 1cc84fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/platform/esp32/shell_extension/heap_trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ constexpr size_t kNumHeapTraceRecords = 100;
constexpr size_t kNumHeapTasks = 20;
constexpr size_t kNumHeapBlocks = 20;

#if CONFIG_HEAP_TRACING_STANDALONE
heap_trace_record_t sTraceRecords[kNumHeapTraceRecords];
#endif

Engine sShellHeapSubCommands;

Expand Down

0 comments on commit 1cc84fa

Please sign in to comment.