component/bt: fix nvs_get_str_or_blob length output error

pull/783/merge
baohongde 2017-08-31 15:52:27 +08:00
rodzic e1bd51af80
commit 87031f9457
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -402,7 +402,7 @@ static esp_err_t nvs_get_str_or_blob(nvs_handle handle, nvs::ItemType type, cons
return ESP_ERR_NVS_INVALID_LENGTH;
}
*length = dataSize;
*length = dataSize;
return entry.mStoragePtr->readItem(entry.mNsIndex, type, key, out_value, dataSize);
}