Skip to content

Commit 0ec307d

Browse files
psiddhclaude
andcommitted
Fix clang-format lint issues in main.cpp
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7f5b816 commit 0ec307d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

examples/raspberry_pi/pico2/main.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ bool run_inference(Method& method) {
353353
uint32_t total_us = 0;
354354
printf("📊 Inference latency summary:\n");
355355
for (int i = 0; i < 4; i++) {
356-
printf(" %s: %lu us\n", test_cases[i].name, (unsigned long)latencies_us[i]);
356+
printf(
357+
" %s: %lu us\n", test_cases[i].name, (unsigned long)latencies_us[i]);
357358
total_us += latencies_us[i];
358359
}
359360
printf(" Average: %lu us\n\n", (unsigned long)(total_us / 4));
@@ -398,9 +399,12 @@ int executor_runner() {
398399
? (uint32_t)((uint8_t*)probe - method_allocator_pool)
399400
: sizeof(method_allocator_pool);
400401
printf("📊 Memory usage after method load:\n");
401-
printf(" Method allocator: %lu / %lu bytes used\n",
402-
(unsigned long)method_used, (unsigned long)sizeof(method_allocator_pool));
403-
printf(" Activation pool: %lu bytes allocated\n",
402+
printf(
403+
" Method allocator: %lu / %lu bytes used\n",
404+
(unsigned long)method_used,
405+
(unsigned long)sizeof(method_allocator_pool));
406+
printf(
407+
" Activation pool: %lu bytes allocated\n",
404408
(unsigned long)sizeof(activation_pool));
405409

406410
if (!run_inference(*method_ptr)) {

0 commit comments

Comments
 (0)