Browse Source

littlefs

pull/425/head^2
lumapu 2 years ago
parent
commit
72652f5a2c
  1. 4
      src/config/settings.h
  2. 2
      src/defines.h

4
src/config/settings.h

@ -157,8 +157,8 @@ class settings {
if(!fp)
DPRINTLN(DBG_WARN, F("failed to load json, using default config"));
else {
DPRINTLN(DBG_INFO, fp.readString());
fp.seek(0, SeekSet);
//DPRINTLN(DBG_INFO, fp.readString());
//fp.seek(0, SeekSet);
DynamicJsonDocument root(4096);
DeserializationError err = deserializeJson(root, fp);
if(!err) {

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 5
#define VERSION_PATCH 36
#define VERSION_PATCH 37
//-------------------------------------
typedef struct {

Loading…
Cancel
Save