Minor fixes:

- optimized setPixelSegment()
- moved extractModeName() to util.cpp
- optimized extractModeName()
- removed SR extensions from /json/effects endpoint (compatibility estabished)
This commit is contained in:
Blaz Kristan
2022-01-31 20:35:11 +01:00
parent 026a53f3ff
commit d31271fee3
6 changed files with 60 additions and 75 deletions

View File

@@ -657,7 +657,6 @@ class WS2812FX {
setPixelColor(uint16_t n, uint8_t r, uint8_t g, uint8_t b, uint8_t w = 0),
show(void),
setTargetFps(uint8_t fps),
setPixelSegment(uint8_t n),
deserializeMap(uint8_t n=0);
bool
@@ -688,6 +687,7 @@ class WS2812FX {
//getFirstSelectedSegment(void),
getMainSegmentId(void),
getTargetFps(void),
setPixelSegment(uint8_t n),
gamma8(uint8_t),
gamma8_cal(uint8_t, float),
sin_gap(uint16_t),