]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/debug.c
Add makefiles (replace Tup)
[z180-stamp.git] / avr / debug.c
index ea4aa21a9f0dce93b8eb7db501c20e02c54cc811..89ef4b131a0757e5dedf45f6773abe733c581bcd 100644 (file)
  * 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;