prep v3 firmware
This commit is contained in:
Submodule FW/leo_muziekdoos_esp32/lib/ESP8266Audio updated: 179bba0829...cd47e00a7d
@@ -1,7 +1,7 @@
|
||||
#include "config.h"
|
||||
#include <vector>
|
||||
#include "FS.h"
|
||||
#include "LITTLEFS.h"
|
||||
#include "littleFS.h"
|
||||
#include "ArduinoJson.h"
|
||||
|
||||
const char *tagConfigfile = "/tagconfig.json";
|
||||
@@ -16,7 +16,7 @@ std::vector<tagConfig> tags;
|
||||
void loadConfig(const char *fname)
|
||||
{
|
||||
Serial.println("config: load");
|
||||
File file = LITTLEFS.open(fname);
|
||||
File file = LittleFS.open(fname);
|
||||
StaticJsonDocument<512> doc;
|
||||
DeserializationError error = deserializeJson(doc, file);
|
||||
if (error)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "FS.h"
|
||||
#include <LITTLEFS.h>
|
||||
#include <LittleFS.h>
|
||||
|
||||
#ifndef CONFIG_LITTLEFS_FOR_IDF_3_2
|
||||
#include <time.h>
|
||||
@@ -89,12 +89,12 @@ void readFile(fs::FS &fs, const char *path)
|
||||
|
||||
void initStorage()
|
||||
{
|
||||
if (!LITTLEFS.begin(FORMAT_LITTLEFS_IF_FAILED))
|
||||
if (!LittleFS.begin(FORMAT_LITTLEFS_IF_FAILED))
|
||||
{
|
||||
Serial.println("LITTLEFS Mount Failed");
|
||||
return;
|
||||
}
|
||||
listDir(LITTLEFS, "/", 0);
|
||||
listDir(LittleFS, "/", 0);
|
||||
}
|
||||
|
||||
void handleStorage()
|
||||
|
||||
Reference in New Issue
Block a user