mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Docs: fix speed code sample printf format specifiers
`%ull` should be `%llu`.
This commit is contained in:
@@ -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();
|
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);
|
MEASUREMENTS, (end - start)/1000, (end - start)/MEASUREMENTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user