mirror of https://github.com/ARMmbed/mbed-os.git
Fix printing of contiguous_erase_size
parent
c61445a787
commit
9f3ada3131
|
@ -546,7 +546,7 @@ void test_contiguous_erase_write_read()
|
||||||
|
|
||||||
bd_size_t contiguous_erase_size = stop_address - start_address;
|
bd_size_t contiguous_erase_size = stop_address - start_address;
|
||||||
TEST_ASSERT(contiguous_erase_size > 0);
|
TEST_ASSERT(contiguous_erase_size > 0);
|
||||||
utest_printf("contiguous_erase_size=%d\n", contiguous_erase_size);
|
utest_printf("contiguous_erase_size=0x%" PRIx64 "\n", contiguous_erase_size);
|
||||||
|
|
||||||
bd_size_t write_read_buf_size = program_size;
|
bd_size_t write_read_buf_size = program_size;
|
||||||
if (contiguous_erase_size / program_size > 8 && contiguous_erase_size % (program_size * 8) == 0) {
|
if (contiguous_erase_size / program_size > 8 && contiguous_erase_size % (program_size * 8) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue