Merge branch 'contrib/github_pr_8578' into 'master'

Docs: fix speed code sample printf format specifiers (GitHub PR)

Closes IDFGH-6958

See merge request espressif/esp-idf!17500
This commit is contained in:
morris 2022-03-16 10:52:36 +08:00
commit cfecf5917b

View File

@ -42,7 +42,7 @@ Otherwise, one way to measure performance is to augment the code to take timing
uint64_t end = esp_timer_get_time();
printf("%u iterations took %ull milliseconds (%ull microseconds per invocation)\n",
printf("%u iterations took %llu milliseconds (%llu microseconds per invocation)\n",
MEASUREMENTS, (end - start)/1000, (end - start)/MEASUREMENTS);
}