summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ce3140be63..6329977765 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1961,7 +1961,7 @@ bool dbg_save_roms(void)
{
char buf[EEPROM_SIZE];
- if (!eeprom_24cxx_read(0, buf, sizeof buf))
+ if (eeprom_24cxx_read(0, buf, sizeof buf))
gui_syncsplash(HZ*3, true, "Eeprom read failure!");
else
write(fd, buf, sizeof buf);