whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.19k stars 221 forks source link

Use default value when reading from non-existing namespace #265

Closed xopxe closed 5 years ago

xopxe commented 5 years ago

Use default provided to nvs.read(namespace,key,default) when reading from non-existing namespace, instead of error-ing with 'non existing key'

xopxe commented 5 years ago

256