Skip to content

Commit 8c8063a

Browse files
update printing
1 parent 6842163 commit 8c8063a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/silabs/tracing/SilabsPowerTracing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ CHIP_ERROR SilabsPowerTracing::OutputPowerManagerTraces()
129129
{
130130
for (size_t i = 0; i < mEnergyTraceCount; i++)
131131
{
132-
ChipLogProgress(DeviceLayer, "%zu | %u | EM%d", i, mEnergyTraces[i].mEntryTime, mEnergyTraces[i].mEnergyMode);
132+
ChipLogProgress(DeviceLayer, "%u | %lu | EM%d", i, mEnergyTraces[i].mEntryTime, mEnergyTraces[i].mEnergyMode);
133133
// Delay so the output is not mangled or skipped.
134134
// 5 (ticks) is enough for UART, but only 1 is required for RTT.
135135
// No delay results in missed or mangled output for both.

0 commit comments

Comments
 (0)