From 4e1ee2253f423f0e9dfd26f1e67915404bad36c9 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Tue, 12 Jan 2021 08:43:38 +0100 Subject: [PATCH] tests/periph_flashpage: print config page offset --- tests/periph_flashpage/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/periph_flashpage/main.c b/tests/periph_flashpage/main.c index adc7d31597..f78921caef 100644 --- a/tests/periph_flashpage/main.c +++ b/tests/periph_flashpage/main.c @@ -542,9 +542,9 @@ static int cmd_dump_config(int argc, char **argv) (void) argv; #ifdef FLASH_USER_PAGE_SIZE - od_hex_dump((void*)NVMCTRL_USER, FLASH_USER_PAGE_SIZE, 0); + od_hex_dump_ext((void*)NVMCTRL_USER, FLASH_USER_PAGE_SIZE, 0, NVMCTRL_USER); #else - od_hex_dump((void*)NVMCTRL_USER, AUX_PAGE_SIZE * AUX_NB_OF_PAGES, 0); + od_hex_dump_ext((void*)NVMCTRL_USER, AUX_PAGE_SIZE * AUX_NB_OF_PAGES, 0, NVMCTRL_USER); #endif return 0;