pre-merge

cleanup:
- version increase
- clean up debug messages
- minor fixes in platformio.ini
- fix compilation with -D WLED_DISABLE_2D

helping the compiler to optimize:
- a few more __attribute__((pure))
- fx.cpp marked a few local functions as "static"
This commit is contained in:
Frank
2023-07-13 19:58:48 +02:00
parent 3295579e05
commit 9a3a97eff1
7 changed files with 35 additions and 30 deletions

View File

@@ -214,9 +214,11 @@ float ARTI::arti_external_function(uint8_t function, float par1, float par2, flo
case F_millis:
return millis();
#ifndef WLED_DISABLE_2D
case F_jsonToPixels:
SEGMENT.jsonToPixels(SEGMENT.name,(uint8_t)par1);
return floatNull;
#endif
default: {}
}