summaryrefslogtreecommitdiff
path: root/avr/debug.c
diff options
context:
space:
mode:
authorLeo C.2024-08-06 12:36:57 +0200
committerLeo C.2024-08-06 12:36:57 +0200
commitcf343962a20706fd6158ba1be469be93dccdfd9b (patch)
tree0a643e1d89660f659fe1c60128e8d90f77706299 /avr/debug.c
parent2d40bd4530c2e2ae26663d4d3ea4bd4eae19407d (diff)
downloadz180-stamp-cf343962a20706fd6158ba1be469be93dccdfd9b.zip
Keep some ro data in flash using __memx address space.HEADmaster
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 ea21583..e064167 100644
--- a/avr/debug.c
+++ b/avr/debug.c
@@ -244,7 +244,7 @@ void dump_heap(void)
//extern unsigned int __brkval;
dump_ram((uint8_t *)__malloc_heap_start, (size_t) __malloc_heap_start, __brkval - __malloc_heap_start,
- "=== Heap:");
+ PSTR("=== Heap:"));
}
command_ret_t do_pr_heap_avr(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc UNUSED, char * const argv[] UNUSED)