diff options
Diffstat (limited to 'avr/debug.c')
-rw-r--r-- | avr/debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |