summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-20 12:51:10 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-24 18:59:50 -0400
commite956f7dc8369b3d1928a1274ca6866b42116cc1f (patch)
tree2e409718f6420a3f0597fd81893c4e319ccae81f /firmware
parent238cd13469935ec908b6d179839b7b7b435cb2be (diff)
downloadrockbox-e956f7dc8369b3d1928a1274ca6866b42116cc1f.tar.gz
rockbox-e956f7dc8369b3d1928a1274ca6866b42116cc1f.zip
firmware: minor screendump related cleanups
- Remove unused redefinitions of screen_dump() from bootloaders - Use empty do-while when screendump is compiled out Change-Id: I3ccdb0390ddaa28d8f561ff744d0db6aaef17f5d
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/screendump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/screendump.h b/firmware/export/screendump.h
index cd7793b9d3..953184c3ac 100644
--- a/firmware/export/screendump.h
+++ b/firmware/export/screendump.h
@@ -54,8 +54,8 @@
#ifdef BOOTLOADER
-#define screen_dump()
-#define remote_screen_dump()
+#define screen_dump() do { } while(0)
+#define remote_screen_dump() do { } while(0)
#else /* !BOOTLOADER */