Merge branch 'custom-effects' into mdev

This commit is contained in:
Ewowi
2022-10-16 14:43:04 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ class CustomEffectsUserMod : public Usermod {
void setup() {
if (!initDone)
strip.addEffect(255, &mode_customEffect, _data_FX_MODE_CUSTOMEFFECT);
strip.addEffect(FX_MODE_CUSTOMEFFECT, &mode_customEffect, _data_FX_MODE_CUSTOMEFFECT);
initDone = true;
enabled = true;
}

View File

@@ -317,8 +317,9 @@
#define FX_MODE_WAVESINS 184
#define FX_MODE_ROCKTAVES 185
#define FX_MODE_2DAKEMI 186
#define FX_MODE_CUSTOMEFFECT 187 //WLEDSR Custom Effects
#define MODE_COUNT 187
#define MODE_COUNT 188
typedef enum mapping1D2D {
M12_Pixels = 0,