diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..002b941 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "thermo_sensor/common_esp32"] + path = thermo_sensor/common_esp32 + url = git@code.yggdrasil.mpiecuch.pl:mateusz/common_esp32.git diff --git a/thermo_sensor/main/thermo_sensor.c b/thermo_sensor/main/thermo_sensor.c index d2d1cb8..0986269 100644 --- a/thermo_sensor/main/thermo_sensor.c +++ b/thermo_sensor/main/thermo_sensor.c @@ -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