tests: periph_flashpage: fix printf format strings

This commit is contained in:
Martine Lenders 2018-08-01 23:01:07 +02:00 committed by Martine Lenders
parent 17db3fdd41
commit 3b1afc45d1

View File

@ -18,6 +18,7 @@
* @} * @}
*/ */
#include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
@ -195,7 +196,7 @@ static int cmd_write_raw(int argc, char **argv)
flashpage_write_raw((void*)addr, raw_buf, strlen(raw_buf)); flashpage_write_raw((void*)addr, raw_buf, strlen(raw_buf));
printf("wrote local data to flash address %#lx of len %u\n", printf("wrote local data to flash address %#" PRIx32 " of len %u\n",
addr, strlen(raw_buf)); addr, strlen(raw_buf));
return 0; return 0;
} }