fix(spiffs): Fixed ret to res in _spiffs_open_r

This commit is contained in:
afellmett
2018-06-04 21:42:30 +02:00
committed by Wu Jian Gang
parent 72ba2bf2fd
commit 248700bab8

View File

@ -200,7 +200,7 @@ int _spiffs_open_r(struct _reent *r, const char *filename, int flags, int mode)
res += NUM_SYS_FD; res += NUM_SYS_FD;
} }
else { else {
ret = SPIFFS_errno(&fs); res = SPIFFS_errno(&fs);
} }
return res; return res;
} }