X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/d649155c6facc6edec97ea5093a20ebc394f80b3..8a500c7f3634212263ab1291c139d9c6a8967b8b:/avr/debug.c?ds=sidebyside diff --git a/avr/debug.c b/avr/debug.c index ea4aa21..89ef4b1 100644 --- a/avr/debug.c +++ b/avr/debug.c @@ -26,11 +26,9 @@ * Memory Display * md addr {len} */ -command_ret_t do_dump_mem(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[]) +command_ret_t do_dump_mem(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc, char * const argv[]) { - int (*readwhat)(uint8_t *buf, uint32_t addr, uint8_t count); - - (void) cmdtp; (void) flag; + ERRNUM (*readwhat)(uint8_t *buf, uint32_t addr, uint8_t count); if (argc < 2) return CMD_RET_USAGE;