submodule common_esp32 added
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "thermo_sensor/common_esp32"]
|
||||||
|
path = thermo_sensor/common_esp32
|
||||||
|
url = git@code.yggdrasil.mpiecuch.pl:mateusz/common_esp32.git
|
||||||
@@ -37,7 +37,8 @@ void app_main()
|
|||||||
// sector - typically 4096B
|
// sector - typically 4096B
|
||||||
esp_err_t ret = nvs_flash_init();
|
esp_err_t ret = nvs_flash_init();
|
||||||
|
|
||||||
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
if (ret == ESP_ERR_NVS_NO_FREE_PAGES ||
|
||||||
|
ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
||||||
// ESP_ERR_NVS_NEW_VERSION_FOUND - NVS header page is
|
// ESP_ERR_NVS_NEW_VERSION_FOUND - NVS header page is
|
||||||
// stored in newer version (newer IDF) than version
|
// stored in newer version (newer IDF) than version
|
||||||
// it is used by this application
|
// it is used by this application
|
||||||
|
|||||||
Reference in New Issue
Block a user