From 58bf98d255416c5a75c7a03049d8f6f31227c5e0 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Thu, 19 Aug 2021 08:15:31 +0200 Subject: [PATCH] Small fix for JSON_BUFFER_SIZE. Exchangeing parametric EQ to HI/LOPASS for band 1 and 7. --- MicroDexed.ino | 2 +- config.h | 3 +-- control_sgtl5000plus.h | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 4606479..c66b1cb 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -301,7 +301,7 @@ void create_audio_drum_chain(uint8_t instance_id) } #endif -StaticJsonDocument data_json; +StaticJsonDocument data_json; uint8_t sd_card = 0; Sd2Card card; SdVolume volume; diff --git a/config.h b/config.h index 4d934b1..1843c28 100644 --- a/config.h +++ b/config.h @@ -626,14 +626,13 @@ #define EQ_6_MIN -99 #define EQ_6_MAX 99 -#define EQ65_DEFAULT 0 +#define EQ_6_DEFAULT 0 #define EQ_7_MIN -99 #define EQ_7_MAX 99 #define EQ_7_DEFAULT 0 // Buffer-size define for load/save configuration as JSON - #define JSON_BUFFER_SIZE 8192 // Internal configuration structure diff --git a/control_sgtl5000plus.h b/control_sgtl5000plus.h index 28a1f50..e3ccc20 100644 --- a/control_sgtl5000plus.h +++ b/control_sgtl5000plus.h @@ -28,7 +28,7 @@ #include #include -#define EQ_TYPE_0 FILTER_PARAEQ +#define EQ_TYPE_0 FILTER_HIPASS #define EQ_CENTER_FRQ_0 50.0 #define EQ_Q_0 0.5 @@ -52,7 +52,7 @@ #define EQ_CENTER_FRQ_5 7000.0 #define EQ_Q_5 0.5 -#define EQ_TYPE_6 FILTER_PARAEQ +#define EQ_TYPE_6 FILTER_LOPASS #define EQ_CENTER_FRQ_6 10000.0 #define EQ_Q_6 0.5