Damian Schneider
32dc54ce72
reverted rotation scale, offset only on static rotation, inverted shift direction
...
- inverting the shift direction in signed int is computationally safe as it is cast into an uint8_t and it matches the original FX in 1D
2024-11-22 08:43:45 +01:00
Frank
548736f432
SparkFunDMX fix for possible array bounds violation in DMX.write
...
Align with code in espdmx.cpp
2024-11-21 22:50:55 +01:00
Frank
6790f8af08
Same MIN_FRAME_DELAY=3 for -C3 and -S2
2024-11-21 22:16:03 +01:00
netmindz
89d587e7dd
Merge pull request #4296 from WouterGritter/mqtt-fix-settings-input-maxlength
...
Introduce printSetInputMaxlength to properly set an inputs maxlength …
2024-11-21 18:25:26 +00:00
Wouter Gritter
5c8b2ebf7a
maxlength -> maxLength to fix this attribute not being modified correctly
2024-11-21 12:04:01 +01:00
Wouter Gritter
5ac8ba9bae
Revert "Introduce printSetInputMaxlength to properly set an inputs maxlength variable"
...
This reverts commit 49fb16e2c6
.
2024-11-21 12:02:55 +01:00
Wouter Gritter
8f8afd98a5
Replace comment with compile-time error and warning
2024-11-21 11:20:42 +01:00
Wouter Gritter
49fb16e2c6
Introduce printSetInputMaxlength to properly set an inputs maxlength variable
2024-11-21 10:52:22 +01:00
Wouter Gritter
0db47a8586
Add comment warning about modification of MQTT_MAX_TOPIC_LEN
2024-11-21 09:51:13 +01:00
Wouter Gritter
cec8978886
Fix comment alignment
2024-11-20 12:45:39 +01:00
Wouter Gritter
0160e3fa87
Use MQTT_MAX_TOPIC_LEN in places where it was not used before to avoid buffer overflows when value is increased
2024-11-20 12:39:39 +01:00
Frank
545bfa6ef9
Merge pull request #4289 from willmmiles/exploding_fireworks_overrun
...
Fix array overflow in exploding_fireworks
2024-11-18 22:18:19 +01:00
Blaž Kristan
c596b5a17d
Bugfix
2024-11-17 14:31:23 +01:00
Blaž Kristan
84dd26c1b7
Some more optimisations.
2024-11-17 10:47:09 +01:00
Will Miles
a765903a41
Fix array overflow in exploding_fireworks
...
Attempt to allocate enough room for the "minimum" sparks; and ensure
that we never overrun the allocated array size.
Fixes #4120
2024-11-16 17:10:30 -05:00
Blaž Kristan
25ab381916
Merge pull request #46 from w00000dy/search-keep-mod
...
Move selected to the bottom in search result
2024-11-16 22:54:11 +01:00
Woody
4d3df5d98f
Fix default/solid not being first
2024-11-16 20:12:29 +01:00
Woody
6fe2024542
move selected to the bottom in search result
2024-11-16 19:53:10 +01:00
maxi4329
7f69a0bc5e
removed obsolete code as of #4267
2024-11-16 12:37:24 +01:00
maxi4329
5b829adedb
Merge branch '0_15' of https://github.com/maxi4329/WLED into minor-webui-enhancements
2024-11-16 12:24:55 +01:00
netmindz
4cd4c13b2d
Merge pull request #4267 from w00000dy/space
...
Fix problem with spaces
2024-11-16 07:14:34 +00:00
Blaž Kristan
86be5df475
xml comma bugfix + few optimisations
2024-11-15 19:03:46 +01:00
Blaž Kristan
8c5e0cd4e9
Keep selected FX while searching
2024-11-15 16:01:58 +01:00
netmindz
a9b0b8adc8
Merge pull request #4229 from maxi4329/snodejsversion
...
specified required nodejs version
2024-11-13 09:20:27 +00:00
Will Miles
ba01cb82f7
Merge pull request #4271 from Aircoookie/4269-crashes-when-using-http-api-within-mqtt
...
Fix for #4269
2024-11-11 19:53:06 -05:00
Will Miles
223b97b884
handleSet: Fix incorrect response generation
...
Don't generate a response if there's no HTTP request.
Fixes #4269
2024-11-10 19:30:01 -05:00
Damian Schneider
d437027f26
Replaced single palette cases with an array to consolidate code
...
- all palettes are defined in palettes.h
- access to fastled palettes as an array to remove the switch cases
- palette createn in json.cpp in a loop instead of repeaded calls to save flash
2024-11-10 22:48:26 +01:00
Frank
9a564ee204
readme.md - link to multi-strip KB page
2024-11-10 14:45:55 +01:00
Will Miles
d37ee89e84
ESP8266PWM: Fix phase shift glitches
...
In some cases it was possible for the computed phase shift to skip
a cycle. Update the shift calculation logic to prevent this.
2024-11-09 21:33:58 -05:00
Woody
5de86d3d91
fix problem with spaces
2024-11-09 23:55:09 +01:00
Woody
4b6041302e
fix #4166
2024-11-09 21:59:52 +01:00
Damian Schneider
536444f9d1
fixed palette FX to more closely match original 1D version
...
- rotation scale is now exactly 180° (divide slider input by 255 instead of 256)
- removed shift offset: offset is now zero at slider 0, to hit 128 on touch input devices is really hard
- added a 90° shift to input rotation, enabling to rotate from 0 to 180° instead of +90 to -90 (which is not useful in 1D)
- changed default settings values to more closely match the old 1D effect
2024-11-09 16:38:18 +01:00
Blaž Kristan
ba5ec57e4d
Enumeration support.
2024-11-09 11:33:10 +01:00
Blaž Kristan
9fa53ccf05
Large ledmap support
...
- add filtering support for readObjectFromFile()
2024-11-09 11:22:38 +01:00
Blaž Kristan
5c2bac4b9d
Merge branch '0_15' into 0_15__speed_improvements
2024-11-09 10:53:27 +01:00
Blaž Kristan
ef1e24cec2
Bugfix & code reduction
...
- correctly clear segment spacing change
- renamed Segment::setUp() to Segment::setGeometry()
- removed WS2812FX::setSegment()
- removed obsolete/unfunctional word clock usermod .cpp file
2024-11-09 10:42:49 +01:00
Frank
001e2ad287
adjust audioreactive for the new FRAME_DELAY logic
...
minor
2024-11-08 19:35:42 +01:00
Frank
0404ec9881
changes in response to feedback from @willmmiles
...
* MIN_SHOW_DELAY -> MIN_FRAME_DELAY
* allow up to 250 for target FPS
* minor cleanup
* added specific MIN_FRAME_DELAY for -S2
2024-11-07 23:15:39 +01:00
netmindz
6ff5c88ebf
List ESP32 first
2024-11-07 08:17:08 +00:00
Frank
1e761c31bd
simpler hight FPS warning
...
* removed "use 0 for unlimited"
* added "high FPS mode is experimental" warning
* added "backup first!" warning
* added anchor #backup to sec page
2024-11-06 22:09:33 +01:00
Frank
ab7b2d729e
use class="warn" for unlimited mode message
2024-11-05 12:24:20 +01:00
Damian Schneider
271a07a7d6
Merge pull request #4250 from DedeHai/FPS_calc_averaging
...
Fixed & improved FPS calculation
2024-11-05 08:52:42 +01:00
Frank
029293a086
simplify sheduler logic
...
* _frametime ensures that effects are not serviced too often
* MIN_SHOW_DELAY is the minimum allowed FRAMETIME that can be requested by effects
2024-11-04 20:11:10 +01:00
Frank
cf1630a94a
0 FPS = unlimited
2024-11-04 19:49:43 +01:00
Damian Schneider
4634ace74e
Added define for bitshift, removed dithering
...
dithering is not really needed, the FPS_MULTIPLIER is a much better option.
2024-11-04 19:33:42 +01:00
Damian Schneider
3733715184
bugfix
...
bitshift was still set from testing, forgot to update
2024-11-04 17:38:45 +01:00
Damian Schneider
bf37ac53a3
improved FPS calc resolution, added averaging & multiplier compileflags
...
Fixed point calculation for improved accuracy, dithering in debug builds only.
Averaging and optional multiplier can be set as compile flags, example for speed testing with long averaging and a 10x multiplier:
-D FPS_CALC_AVG=200
-D FPS_MULTIPLIER=10
The calculation resolution is limited (9.7bit fixed point) so values larger than 200 can hit resolution limit and get stuck before reaching the final value.
If WLED_DEBUG is defined, dithering is added to the returned value so sub-frame accuracy is possible in post-processingwithout enabling the multiplier.
2024-11-04 08:10:05 +01:00
Frank
50934e6840
adressing some review comments
...
* keep FRAMETIME_FIXED as a fixed value
* remove WLED_FPS_SLOW and FRAMETIME_FIXED_SLOW
* explicit test "(_targetFps != FPS_UNLIMITED)" for debug messages
* don't modify _lastServiceShow in show()
* test for "fps == FPS_UNLIMITED" explicitly, so we could pick a different
magic number later
2024-11-02 18:16:51 +01:00
Frank
891ea48e11
Merge remote-tracking branch 'upstream/0_15' into framerate_ac015
2024-11-02 17:56:24 +01:00
Frank
70323b9477
rename delay -> frameDelay
...
Avoiding name collisions with the 'delay' function.
2024-11-02 17:50:30 +01:00