summaryrefslogtreecommitdiff
path: root/avr/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/debug.c')
-rw-r--r--avr/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/debug.c b/avr/debug.c
index f3632c2..e29a085 100644
--- a/avr/debug.c
+++ b/avr/debug.c
@@ -40,7 +40,7 @@ void dump_heap(void)
*/
command_ret_t do_dump_mem(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
- void (*readwhat)(uint8_t *buf, uint32_t addr, uint8_t count);
+ int (*readwhat)(uint8_t *buf, uint32_t addr, uint8_t count);
(void) cmdtp; (void) flag;