mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 08:38:14 +10:00
less warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2291 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
333642fcff
commit
13e592f9f6
@ -148,7 +148,6 @@ void start_profile(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int eth0_up;
|
|
||||||
static FILE *log;
|
static FILE *log;
|
||||||
|
|
||||||
static char reboot_stack[2048];
|
static char reboot_stack[2048];
|
||||||
@ -305,7 +304,7 @@ void format(void)
|
|||||||
err = cyg_io_get_config(handle, CYG_IO_GET_CONFIG_FLASH_ERASE, &e, &len);
|
err = cyg_io_get_config(handle, CYG_IO_GET_CONFIG_FLASH_ERASE, &e, &len);
|
||||||
if (err != ENOERR)
|
if (err != ENOERR)
|
||||||
{
|
{
|
||||||
diag_printf("Flash erase error %d offset 0x%p\n", err, e.err_address);
|
diag_printf("Flash erase error %d offset 0x%08x\n", err, e.err_address);
|
||||||
reboot();
|
reboot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user