From cf343962a20706fd6158ba1be469be93dccdfd9b Mon Sep 17 00:00:00 2001 From: Leo C. Date: Tue, 6 Aug 2024 12:36:57 +0200 Subject: Keep some ro data in flash using __memx address space. --- avr/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avr/debug.c') 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) -- cgit v1.2.3