Skip to content

Commit 0c8b297

Browse files
committed
fix(sd): fixed sd with offset performance test wrong log issue
1 parent 77ae280 commit 0c8b297

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/esp_driver_sdmmc/test_apps/sd_test_utils/components/common_test_flows/sdmmc_test_rw_common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void sdmmc_test_rw_performance(sdmmc_card_t *card, FILE *perf_log)
158158
void sdmmc_test_rw_with_offset(sdmmc_card_t* card)
159159
{
160160
sdmmc_card_print_info(stdout, card);
161-
printf(" sector | count | align | size(kB) | wr_time(ms) | wr_speed(MB/s) | rd_time(ms) | rd_speed(MB/s)\n");
161+
printf(" sector | count | align | alloc | size(kB) | wr_time(ms) | wr_speed(MB/s) | rd_time(ms) | rd_speed(MB/s)\n");
162162
/* aligned */
163163
do_single_rw_perf_test(card, 1, 16, 4, NULL, 0);
164164
do_single_rw_perf_test(card, 16, 32, 4, NULL, 0);
@@ -216,6 +216,7 @@ void sdmmc_test_rw_highprio_task(sdmmc_card_t* card)
216216

217217
xSemaphoreGive(args.stop);
218218
xSemaphoreTake(args.done, portMAX_DELAY);
219+
vTaskDelay(1);
219220
vSemaphoreDelete(args.stop);
220221
vSemaphoreDelete(args.done);
221222
}

0 commit comments

Comments
 (0)