Non-fatal error from ps::access_start (#14845)
This commit is contained in:
committed by
Scott Lahteine
parent
f13fbafe31
commit
92c35d14a4
@ -52,7 +52,7 @@ static char _ALIGN(4) HAL_eeprom_data[HAL_EEPROM_SIZE];
|
||||
|
||||
SdFile file, root = card.getroot();
|
||||
if (!file.open(&root, EEPROM_FILENAME, O_RDONLY))
|
||||
return false;
|
||||
return true; // false aborts the save
|
||||
|
||||
int bytes_read = file.read(HAL_eeprom_data, HAL_EEPROM_SIZE);
|
||||
if (bytes_read < 0) return false;
|
||||
|
Reference in New Issue
Block a user