diff --git a/features/storage/TESTS/blockdevice/general_block_device/README.md b/features/storage/TESTS/blockdevice/general_block_device/README.md index 695a87774e..bed0fd83fe 100644 --- a/features/storage/TESTS/blockdevice/general_block_device/README.md +++ b/features/storage/TESTS/blockdevice/general_block_device/README.md @@ -1,6 +1,6 @@ # Getting started with the Mbed OS block device test -Mbed OS block device test is used to test exsiting and new block devices. +Mbed OS block device test is used to test existing and new block devices. You can find more information about the Mbed OS block device and other related pieces of the Mbed OS storage stack [in the storage overview](https://os.mbed.com/docs/latest/reference/storage.html). diff --git a/features/storage/TESTS/blockdevice/general_block_device/main.cpp b/features/storage/TESTS/blockdevice/general_block_device/main.cpp index 345fe33feb..20de70c973 100644 --- a/features/storage/TESTS/blockdevice/general_block_device/main.cpp +++ b/features/storage/TESTS/blockdevice/general_block_device/main.cpp @@ -78,7 +78,8 @@ void basic_erase_program_read_test(BlockDevice *block_device, bd_size_t block_si val_rand = rand(); if ( (0xff & val_rand) != read_block[i_ind] ) { utest_printf("\n Assert Failed Buf Read - block:size: %llx:%llu \n", block, block_size); - utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand), read_block[i_ind], + utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand), + read_block[i_ind], write_block[i_ind] ); } TEST_ASSERT_EQUAL(0xff & val_rand, read_block[i_ind]); @@ -213,7 +214,5 @@ Specification specification(test_setup, cases); int main() { - //mbed_trace_init(); - utest_printf("MAIN STARTS\n"); return !Harness::run(specification); }