From 5a97a6a4488fe257a78b63864e31c5a6df8b9c1f Mon Sep 17 00:00:00 2001 From: Ewoud Date: Wed, 7 Dec 2022 16:09:29 +0100 Subject: [PATCH] Bugfix --- usermods/audioreactive/audio_reactive.h | 6 +++--- .../usermod_v2_four_line_display_ALT.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usermods/audioreactive/audio_reactive.h b/usermods/audioreactive/audio_reactive.h index 682431fb..32daf12a 100644 --- a/usermods/audioreactive/audio_reactive.h +++ b/usermods/audioreactive/audio_reactive.h @@ -2004,17 +2004,17 @@ class AudioReactive : public Usermod { oappend(SET_F("addInfo('AudioReactive:digitalmic:type',1,'requires reboot!');")); // 0 is field type, 1 is actual field #ifdef I2S_SDPIN oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',0,'sd/data/dout, default ")); oappendi(I2S_SDPIN); oappend("','I2S SD');"); - #elif + #else oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',0,'sd/data/dout','I2S SD');")); #endif #ifdef I2S_WSPIN oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',1,'ws/clk/lrck, default ")); oappendi(I2S_WSPIN); oappend("','I2S WS');"); - #elif + #else oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',1,'ws/clk/lrck','I2S WS');")); #endif #ifdef I2S_CKPIN oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',2,'sck/bclk, default ")); oappendi(I2S_CKPIN); oappend("','I2S SCK');"); - #elif + #else oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',2,'sck/bclk','I2S SCK');")); #endif #if !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S3) diff --git a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h index 5a96d98f..c1fc2f08 100644 --- a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h +++ b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h @@ -1039,12 +1039,12 @@ class FourLineDisplayUsermod : public Usermod { // WLEDMM add defaults #ifdef FLD_PIN_SCL oappend(SET_F("addInfo('4LineDisplay:pin[]',0,'-1 use global, default ")); oappendi(FLD_PIN_SCL); oappend("','I2C/SPI CLK');"); - #elif + #else oappend(SET_F("addInfo('4LineDisplay:pin[]',0,'-1 use global','I2C/SPI CLK');")); #endif #ifdef FLD_PIN_SDA oappend(SET_F("addInfo('4LineDisplay:pin[]',1,'-1 use global, default ")); oappendi(FLD_PIN_SDA); oappend("','I2C/SPI DTA');"); - #elif + #else oappend(SET_F("addInfo('4LineDisplay:pin[]',1,'-1 use global','I2C/SPI DTA');")); #endif oappend(SET_F("addInfo('4LineDisplay:pin[]',2,'','SPI CS');"));