From 88446cc902ee3282517d11fba1160c3c0b621364 Mon Sep 17 00:00:00 2001 From: positionhigh Date: Fri, 20 Aug 2021 09:19:51 +0200 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9E=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UI.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/UI.hpp b/UI.hpp index 23902e1..8824ec7 100644 --- a/UI.hpp +++ b/UI.hpp @@ -6472,13 +6472,13 @@ void UI_func_load_performance(uint8_t param) lcd.print("Does not exist."); else { - load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[0], 0); + load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[0], 0, 0); set_voiceconfig_params(0); #if NUM_DEXED > 1 - load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[1], 1); + load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[1], 1, 0); set_voiceconfig_params(1); #endif - load_sd_fx_json(configuration.performance.fx_number); + load_sd_fx_json(configuration.performance.fx_number, 0); set_fx_params(); lcd.print("Done. "); @@ -6686,7 +6686,7 @@ void UI_func_load_voiceconfig(uint8_t param) if (mode > 0) { mode = 0xff; lcd.setCursor(0, 1); - if (load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id) == false) + if (load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id, 0) == false) lcd.print("Does not exist. "); else lcd.print("Done. "); @@ -6816,7 +6816,7 @@ void UI_func_save_voiceconfig(uint8_t param) sprintf(tmp, "/%s/%s%d.json", VOICE_CONFIG_PATH, VOICE_CONFIG_NAME, configuration.performance.voiceconfig_number[selected_instance_id]); SD.remove(tmp); } - save_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id); + save_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id, 0); lcd.show(1, 0, 16, "Done."); delay(MESSAGE_WAIT_TIME); LCDML.FUNC_goBackToMenu(); @@ -6925,7 +6925,7 @@ void UI_func_load_fx(uint8_t param) mode = 0xff; lcd.setCursor(0, 1); - if (load_sd_fx_json(configuration.performance.fx_number) == false) + if (load_sd_fx_json(configuration.performance.fx_number, 0) == false) lcd.print("Does not exist. "); else lcd.print("Done. "); @@ -7023,7 +7023,7 @@ void UI_func_save_fx(uint8_t param) sprintf(tmp, "/%s/%s%d.json", FX_CONFIG_PATH, FX_CONFIG_NAME, configuration.performance.fx_number); SD.remove(tmp); } - save_sd_fx_json(configuration.performance.fx_number); + save_sd_fx_json(configuration.performance.fx_number, 0); lcd.show(1, 0, 16, "Done."); LCDML.FUNC_goBackToMenu();