esp32_wifi_adapter.c: file mode for open doesn't make sense for O_RDONLY
This commit is contained in:
parent
073912e232
commit
0fbfc4c44c
@ -3111,7 +3111,7 @@ static int32_t esp_nvs_get_blob(uint32_t handle,
|
||||
return -1;
|
||||
}
|
||||
|
||||
fd = open(dir, O_RDONLY, NVS_FILE_MODE);
|
||||
fd = open(dir, O_RDONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
if (errno == ENOENT)
|
||||
|
Loading…
Reference in New Issue
Block a user