forked from espressif/esp-idf
* Checking Lock::init() now * fixed typos in nvs_flash.h * Added missing parameter checks in nvs encryption function * Closes IDF-1462 * Closes IDF-2900
* Checking Lock::init() now * fixed typos in nvs_flash.h * Added missing parameter checks in nvs encryption function * Closes IDF-1462 * Closes IDF-2900