diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 8e36c0089..ebe676675 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -88,15 +88,16 @@ static const char _data_FX_MODE_STATIC[] PROGMEM = "Solid"; /* * Custom mode. Executes WebAssembly fx() function */ -uint16_t WS2812FX::mode_custom(void) { +uint16_t mode_custom(void) { if (SEGENV.call == 0) wasmfx.init(); wasmfx.run(); return 1; } +static const char _data_FX_MODE_CUSTOM[] PROGMEM = "Custom"; // TODO special case dependant on values actually used in FX //testing TEMP -uint16_t WS2812FX::mode_benchmark(void) { +/*uint16_t mode_benchmark(void) { uint32_t i=(now/4); uint32_t c=0; while(cindex == 0){ //if (!wsFrameBuffer && len < 4096) wsFrameBuffer = new uint8_t[4096];