esp_timer: Fix Test ESP_TIMER_ISR dispatch method is not blocked

This commit is contained in:
KonstantinKondrashov
2021-02-24 16:08:17 +08:00
parent f72c296827
commit 7bbf4a3422

View File

@@ -568,6 +568,7 @@ esp_err_t esp_timer_dump(FILE* stream)
timer_list_unlock(dispatch_method); timer_list_unlock(dispatch_method);
} }
if (stream != NULL) {
fprintf(stream, "Timer stats:\n"); fprintf(stream, "Timer stats:\n");
#if WITH_PROFILING #if WITH_PROFILING
fprintf(stream, "%-20s %-10s %-12s %-12s %-12s %-12s %-12s\n", fprintf(stream, "%-20s %-10s %-12s %-12s %-12s %-12s %-12s\n",
@@ -577,7 +578,6 @@ esp_err_t esp_timer_dump(FILE* stream)
#endif #endif
/* Print the buffer */ /* Print the buffer */
if (stream != NULL) {
fputs(print_buf, stream); fputs(print_buf, stream);
} }