From a1ddea8e5e7a50c2bfcfb7f12f3efbf3c91c9d34 Mon Sep 17 00:00:00 2001 From: wlyu Date: Mon, 10 Oct 2022 20:43:37 +0800 Subject: [PATCH] optimize extsram test output --- APP_Framework/Applications/app_test/test_extsram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APP_Framework/Applications/app_test/test_extsram.c b/APP_Framework/Applications/app_test/test_extsram.c index 7467733cf..09b5316ce 100755 --- a/APP_Framework/Applications/app_test/test_extsram.c +++ b/APP_Framework/Applications/app_test/test_extsram.c @@ -53,7 +53,7 @@ int ExtsramTest(void) #endif /* write data */ - printf("Writing the %ld bytes data, waiting....", SRAM_SIZE); + printf("Writing the %ld bytes data, waiting....\n", SRAM_SIZE); start_time = PrivGetTickTime(); for (i = 0; i < SRAM_SIZE / data_width; i++) { @@ -91,7 +91,7 @@ int ExtsramTest(void) data = *(volatile uint32_t *)(SRAM_BANK_ADDR + i * data_width); if (data != 0x55555555) { - printf("SRAM test failed!"); + printf("SRAM test failed!\n"); break; } #endif