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:
parent
3b4932a27b
commit
5375e26e51
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue