1
0
Fork 0
forked from len0rd/rockbox

eeprom dump in debug screen: fix return value check

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10467 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2006-08-06 21:48:59 +00:00
parent 3b4932a27b
commit 5375e26e51

View file

@ -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);