Non-fatal error from ps::access_start (#14845)

This commit is contained in:
Tanguy Pruvot
2019-08-07 07:43:00 +02:00
committed by Scott Lahteine
parent f13fbafe31
commit 92c35d14a4
2 changed files with 2 additions and 2 deletions

View File

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