Merge remote-tracking branch 'upstream/main' into mdev

This commit is contained in:
Ewoud
2023-01-07 12:01:03 +01:00
41 changed files with 330 additions and 328 deletions

View File

@@ -79,12 +79,12 @@ static void doSaveState() {
playlistSave = false;
}
bool getPresetName(byte index, String& name)
bool getPresetName(byte index, String& name)
{
if (!requestJSONBufferLock(9)) return false;
bool presetExists = false;
if (readObjectFromFileUsingId(getFileName(), index, &doc))
{
{
JsonObject fdo = doc.as<JsonObject>();
if (fdo["n"]) {
name = (const char*)(fdo["n"]);