tests: periph_flashpage: fix printf format strings
This commit is contained in:
parent
17db3fdd41
commit
3b1afc45d1
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user