submodule common_esp32 added

This commit is contained in:
2026-09-18 14:20:49 +02:00
parent a89fc4b4b8
commit db61e3af88
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "thermo_sensor/common_esp32"]
path = thermo_sensor/common_esp32
url = git@code.yggdrasil.mpiecuch.pl:mateusz/common_esp32.git
+2 -1
View File
@@ -37,7 +37,8 @@ void app_main()
// sector - typically 4096B
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
// stored in newer version (newer IDF) than version
// it is used by this application