From 30914401621c7b83231a3c81f20a03f55c17f11c Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Wed, 27 Jul 2022 17:04:09 +0200 Subject: [PATCH] Reposition Scanner Dual FX. --- wled00/FX.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 7da8c2eb..3fae5d43 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -1154,7 +1154,17 @@ uint16_t larson_scanner(bool dual) { uint16_t mode_larson_scanner(void){ return larson_scanner(false); } -static const char *_data_FX_MODE_LARSON_SCANNER PROGMEM = "Scanner"; +static const char *_data_FX_MODE_LARSON_SCANNER PROGMEM = "Scanner@!,Fade rate;!,!,;!;mp12=0"; + + +/* + * Creates two Larson scanners moving in opposite directions + * Custom mode by Keith Lord: https://github.com/kitesurfer1404/WS2812FX/blob/master/src/custom/DualLarson.h + */ +uint16_t mode_dual_larson_scanner(void){ + return larson_scanner(true); +} +static const char *_data_FX_MODE_DUAL_LARSON_SCANNER PROGMEM = "Scanner Dual@!,Fade rate;!,!,;!;mp12=0"; /* @@ -1703,16 +1713,6 @@ uint16_t mode_multi_comet(void) static const char *_data_FX_MODE_MULTI_COMET PROGMEM = "Multi Comet"; -/* - * Creates two Larson scanners moving in opposite directions - * Custom mode by Keith Lord: https://github.com/kitesurfer1404/WS2812FX/blob/master/src/custom/DualLarson.h - */ -uint16_t mode_dual_larson_scanner(void){ - return larson_scanner(true); -} -static const char *_data_FX_MODE_DUAL_LARSON_SCANNER PROGMEM = "Scanner Dual"; - - /* * Running random pixels ("Stream 2") * Custom mode by Keith Lord: https://github.com/kitesurfer1404/WS2812FX/blob/master/src/custom/RandomChase.h