mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-02 18:51:38 +02:00
littlefs
This commit is contained in:
parent
f72a2eb1ec
commit
72652f5a2c
2 changed files with 3 additions and 3 deletions
|
@ -157,8 +157,8 @@ class settings {
|
||||||
if(!fp)
|
if(!fp)
|
||||||
DPRINTLN(DBG_WARN, F("failed to load json, using default config"));
|
DPRINTLN(DBG_WARN, F("failed to load json, using default config"));
|
||||||
else {
|
else {
|
||||||
DPRINTLN(DBG_INFO, fp.readString());
|
//DPRINTLN(DBG_INFO, fp.readString());
|
||||||
fp.seek(0, SeekSet);
|
//fp.seek(0, SeekSet);
|
||||||
DynamicJsonDocument root(4096);
|
DynamicJsonDocument root(4096);
|
||||||
DeserializationError err = deserializeJson(root, fp);
|
DeserializationError err = deserializeJson(root, fp);
|
||||||
if(!err) {
|
if(!err) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 5
|
||||||
#define VERSION_PATCH 36
|
#define VERSION_PATCH 37
|
||||||
|
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue