Docs: fix speed code sample printf format specifiers

`%ull` should be `%llu`.
This commit is contained in:
Jeff Hufford
2022-03-15 15:56:14 -07:00
committed by GitHub
parent 5963de1caf
commit 88883ea9c5

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(); 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);
} }