Blaž Kristan
f3de45c6ad
Remove reference to custom allocators
2025-02-09 21:43:35 +01:00
Blaž Kristan
386e2c6306
Merge pull request #4528 from blazoncek/ir-bugfix
...
Fix for "Send notifications on button press or IR" does not work when using "JSON remote" #4519
2025-02-09 20:36:44 +01:00
Blaž Kristan
2473065b98
Soap gap bugfix & aditional size tuning
2025-02-09 19:08:42 +01:00
Blaž Kristan
ed91c54654
Uninitialised _data bugfix
2025-02-09 18:24:10 +01:00
Damian Schneider
4d53e0adde
Fixes first pixel not being set in Stream FX ( #4542 )
...
* Fixes first pixel not being set
* added fix to Stream 2 as well
2025-02-08 16:45:33 +01:00
yangminglong
35f87365c9
Brightness follow sun ( #4485 )
...
* add usermod : Brightness Follow Sun
2025-02-08 10:11:14 +01:00
Damian Schneider
8e7d6d5dad
cleanup and added Density slider
...
- moved local variables into function
- made coordinates an array
- amplitude can now be changed by user (default setting is a slight increase to original which cannot be avoided without complicated logic or default slider setting)
2025-02-08 10:06:29 +01:00
scourge411
95a10c692c
constexpr is invalid on is2D() ( #4540 )
...
* constexpr is invalid on is2D() (it does work on _V4 builds though)
2025-02-08 08:44:46 +01:00
Blaž Kristan
77d7082ffc
Bugfix
...
- correct string length in strlcpy()
2025-02-07 16:56:16 +01:00
Blaž Kristan
c43d09c8b1
Move _data and allocation to derived class
...
- as suggested by @TripleWhy
- minimum length guard
Conflicts:
wled00/bus_manager.cpp
wled00/bus_manager.h
2025-02-07 16:18:53 +01:00
Damian Schneider
d92e60ee5f
adding XY() lambda function back in
...
- slight increase in code size, speed is the same but better readability.
2025-02-07 15:23:44 +01:00
Damian Schneider
b9ceacb43d
more optimizations and better readability
2025-02-07 11:14:13 +01:00
Damian Schneider
2fe809f15a
consolidated double loops into function
...
- saves ~500 bytes of flash
- slight speed improvement
2025-02-07 09:46:06 +01:00
Blaž Kristan
8c717537c4
Lambda XY()
2025-02-06 15:12:04 +01:00
Damian Schneider
e088f4654a
removed unnecessary changes
2025-02-06 11:32:33 +01:00
Damian Schneider
b363b6151c
revert using color_fade() as it is slower
...
- ran a few more tests, it is 30% faster like it was originally so reverting. The conversion to 32bit color appears to be wasteful in resources.
2025-02-06 11:32:33 +01:00
Damian Schneider
3baa4f8223
improved speed and fixed issue
...
- fixed issue: blending was also done when color was on a key-index-color which is now skipped
- speed improvement: conversion is skipped if color is key-color
2025-02-06 11:32:33 +01:00
Damian Schneider
373f4cfefd
removed unnecessary lambda function
...
performance is the same, the function just makes it a bit confusing.
2025-02-06 06:44:26 +01:00
Blaž Kristan
64a02b705a
Blending style bugfix (wrong limit)
...
SoundSim bugfix (missing options)
2025-02-04 18:42:38 +01:00
Will Miles
1688546519
Fix RTC usermod
2025-02-03 18:48:07 +00:00
Blaž Kristan
1db3359b84
Replace unsigned with size_t
2025-02-01 12:07:31 +01:00
Damian Schneider
b64cd36468
fixes trail flickering randomly. thx @blazoncek for discovering
2025-01-31 14:14:23 +01:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Blaž Kristan
5b7bab6752
Compile fixes
2025-01-30 20:46:26 +01:00
Blaž Kristan
70042db2de
Allow "unlimited" virtual buses
...
- added config upload options
- number of buses it limited to 36 (0-9+A-Z identifiers)
- WRNING web server may not support that many variables
2025-01-30 19:41:44 +01:00
Blaž Kristan
bf69d37cbe
Revert getBus() changes
2025-01-30 19:35:36 +01:00
Blaž Kristan
ee7ec20f29
Convert BusManager class to namespace
...
- use unique_ptr/make_unique for busses
2025-01-30 19:31:09 +01:00
Blaž Kristan
1e1ba9afa3
Fix for aircoookie/WLED#4519
...
- added JSON handling for irApplyToAllSelected
2025-01-30 19:19:27 +01:00
netmindz
32a75c1ff5
Merge pull request #4165 from willmmiles/esp8266-pwm-phase
...
Support PWM phase shifts on ESP8266
2025-01-27 19:05:46 +00:00
Will Tatam
7c05914e5a
Merge branch 'main' into aws-queue-0_16
2025-01-26 16:07:15 +00:00
Will Tatam
35624ab998
Merge branch 'main' into gif-fix
2025-01-26 15:19:56 +00:00
Blaž Kristan
e7c0ce794b
Merge conflict fix
...
- updated blending style constants
2025-01-24 10:10:14 +01:00
Will Miles
4c50119ac2
Merge remote-tracking branch 'upstream/main' into esp8266-pwm-phase
2025-01-23 19:39:01 -05:00
Will Miles
bec7e54f7f
Defer web requests if JSON lock contended
...
Use the web server's queuing mechanism to call us back later.
2025-01-23 19:10:43 -05:00
Will Miles
dc317220b3
Debug: Dump web server queue state
...
This can be helpful for debugging web handler related issues.
2025-01-23 19:10:43 -05:00
Will Miles
981750a48a
Enable webserver queue and limits
...
Enable the new concurrent request and queue size limit features
of AsyncWebServer. This should improve the handling of burst
traffic or many clients, and significantly reduce the likelihood
of OOM crashes due to HTTP requests.
2025-01-23 19:10:43 -05:00
Will Tatam
f2caf14d6a
Fix missing hideDMXInput and hideNoDMXInput functions
2025-01-22 20:33:15 +00:00
Miroslav Lichvar
39512da74e
fix reproduction in game of life
...
A typo caused broken counting of the most common color in neighbouring
cells and blocked reproduction in some directions.
2025-01-21 20:01:04 +01:00
Blaž Kristan
24082d169b
Merge branch 'main' into parallel-I2S
2025-01-20 22:19:49 +01:00
Blaž Kristan
3debaf0f41
Merge branch 'main' into use-bssid
2025-01-20 17:46:56 +01:00
Blaž Kristan
3a426e258b
Merge branch 'main' into blending-styles
2025-01-20 11:19:43 +01:00
Blaž Kristan
b062d1ee3e
Merge branch 'main' into large-ledmap
2025-01-20 09:03:55 +01:00
Blaž Kristan
ebc171d405
Const update
...
- removed erroneous DEBUGFX
2025-01-20 08:59:35 +01:00
5chubrakete
4951be6999
Added some date and time formatting options to scrolling text effect. ( #4195 )
...
Updated to nonbreaking change and auto uppercasing according to review.
2025-01-20 06:24:10 +01:00
Damian Schneider
a421a90e0a
replacement for fastled sqrt16() ( #4426 )
...
* added bitwise operation based sqrt16
- replacement for fastled, it is about 10% slower for numbers smaller 128 but faster for larger numbers. speed difference is irrelevant to WLED but it saves some flash.
* updated to 32bit, improved for typical WLED use
- making it 32bits allows for larger numbers
- added another initial condition check for medium sized numbers
- increased the "small number" optimization to larger numbers: the function is currently only used to calculate sqrt(x^2+y^2) which even for small segments is larger than the initially used 64, so optimizing for 1024 makes more sense, although the value is arbitrarily chosen
2025-01-20 05:51:04 +01:00
Blaž Kristan
a98685d89e
Remove numBusses, RMT idle bugfix
...
- experiment with std::unique_ptr
2025-01-19 21:37:34 +01:00
Blaž Kristan
1c4ba20646
Merge branch 'bus-improvements' into parallel-I2S
2025-01-19 12:41:17 +01:00
Blaž Kristan
7daea18907
Merge fixes & updates
...
- Segment::setName()
- S2 limits
- bus debug macros
- remove cctBlending from strip
2025-01-19 11:37:57 +01:00
Blaž Kristan
0c84235a95
Bus rework
...
- Implement vector in bus manager
- Memory calculation according to explanation from @Makuna
- Prefer 8 RMT before 8 I2S on ESP32 (fixes #4380 )
- speed improvements in ABL
- verbose debugging
- get bus size from NPB (prototype)
- Parallel I2S output bugfix
- automatic selection of appropriate I2S bus (`X1xxxxxxMethod`)
- removed I2S0 on ESP32 (used by AudioReactive)
- renumbered internal bus numbers (iType)
- added buffer size reporting
2025-01-19 10:17:33 +01:00
Damian Schneider
aab29cb0ab
consolidated colorwaves and pride into one base function
...
the two FX are almost identical in code with just a few lines difference.
2025-01-19 09:04:54 +01:00