Will Miles
1346eb4f76
tools: Add all_xml fetch script
...
Useful for checking that I haven't broken anything.
2024-09-18 19:47:52 -04:00
Will Miles
d4268ba070
handleFileRead: Skip duplicate FS check
...
Since we validate the file existence ourselves, no need to have
AsyncWebServer do it again.
2024-09-18 19:47:51 -04:00
Damian Schneider
696290527a
cleanup and improved color_add()
...
- optimized color_add() again: now it is as fast with preserved ratio scaling than the "fast" variant was before (if no scaling is needed, it is even faster). plus it saves 250 bytes of flash
- bugfix in `color_fade()`
- removed a lot of whitespaces
2024-09-18 22:10:27 +02:00
Damian Schneider
686866c6f9
Merge remote-tracking branch 'upstream/0_15' into 0_15__speed_improvements
2024-09-18 08:10:45 +02:00
Blaz Kristan
72455ccde1
Missing "not"
2024-09-17 19:47:24 +02:00
Blaz Kristan
88fb860568
SAVE_RAM bugfix introduced by #4137
2024-09-17 16:34:38 +02:00
Blaz Kristan
ceed494cf7
Introduce common.js in settings pages
2024-09-17 16:26:11 +02:00
Blaz Kristan
ac8f919304
Serial improvements (can RX, canTX)
...
PinManager bugfix for unsigned long long
2024-09-17 16:21:52 +02:00
Blaž Kristan
7f1ec4802d
Merge pull request #4137 from felddy/feature/toggle_pallet_sync
...
Add the ability to toggle the reception of palette synchronizations
2024-09-16 16:19:19 +02:00
Blaz Kristan
d5777b7bce
Fix for missing WLED_NUM_PINS check
2024-09-15 20:34:05 +02:00
PaoloTK
e34f179a82
fix pin conflict check logic
2024-09-15 20:27:44 +02:00
Blaz Kristan
6a90b9a512
FX Temperature better ranges
2024-09-15 19:31:14 +02:00
Blaz Kristan
65a8dbfe41
FX: Usermod Temperature effect
2024-09-15 11:04:02 +02:00
Blaz Kristan
1ff667b7ef
AWS library fix
2024-09-15 10:59:50 +02:00
Blaž Kristan
0806c7fbdb
Merge pull request #4142 from willmmiles/fix-webserver-pin
...
Fix AsyncWebServer version pin
2024-09-14 22:51:19 +02:00
Blaz Kristan
5708d7a6b8
Build bump, changelog update
2024-09-14 22:30:56 +02:00
Will Miles
2264cc5d10
Use tag to pin AsyncWebServer version
2024-09-14 16:11:46 -04:00
Blaž Kristan
28cb3f9d0c
Merge pull request #4107 from PaoloTK/compile_different_busses
...
Configure different kinds of busses at compile
2024-09-14 22:02:56 +02:00
PaoloTK
f16ed4697f
fix isReadOnlyPin() logic
2024-09-14 18:58:53 +02:00
Blaz Kristan
81e412fe5b
Use refernece to avoid ctor/dtor
...
Use PinManager to determine reserved pins
2024-09-14 14:54:42 +02:00
Damian Schneider
f3137eb0a9
updated Segment::color_from_palette
...
- gamma correction only where needed
- paletteIndex should be uint8_t (it is only used as that)
note: integrating the new `ColorFromPaletteWLED()` into this would require a whole lot of code rewrite and would result in more color conversions from 32bit to CRGB. It would be really useful only if CRGB is replaced with native 32bit colors.
2024-09-14 14:49:36 +02:00
Damian Schneider
0e5bd4ed74
remove test printout
2024-09-14 14:11:29 +02:00
Damian Schneider
6a37f25c5d
memory improvement: dropped static gamma table
...
- there already is a method to calculate the table on the fly, there is no need to store it in flash, it can just be calculated at bootup (or cfg change)
2024-09-14 14:10:46 +02:00
Damian Schneider
2afff05014
minor tweak (break instead of continue in setPixelColorXY)
2024-09-14 11:45:27 +02:00
Blaz Kristan
e3d9417b84
Minor fixes
...
- rely on HAL for RO pins and max pins
- remove isPinDefined() and do clash check inline
- JS fix to use HAL max pins
2024-09-14 11:39:56 +02:00
Blaz Kristan
6a188033c6
Merge branch '0_15' into compile_different_busses
2024-09-14 09:27:37 +02:00
Blaž Kristan
df24fd7bf2
Merge pull request #4129 from Aircoookie/bus-config
...
Fetch LED types from Bus classes (dynamic UI)
2024-09-13 23:23:08 +02:00
Damian Schneider
d45b4ad134
fixes and consistency
2024-09-13 19:01:54 +02:00
Damian Schneider
ec938f254c
removed old code
2024-09-12 21:25:08 +02:00
PaoloTK
fa82e759bd
bug fix
2024-09-12 18:27:51 +02:00
PaoloTK
daf0bcfac3
bug fix on pin already defined check
2024-09-12 18:12:38 +02:00
Damian Schneider
09428dcade
inlined getMappedPixelIndex, improved color_add, bugfix in colorFromPalette
...
inlining getMappedPixelIndex gets rid of function entry instructions (hopefully) so it should be faster.
also added the 'multi color math' trick to color_add function (it will not make much difference but code shrinks by a few bytes)
2024-09-12 16:34:55 +02:00
Blaz Kristan
49d51c5af8
Hot
2024-09-12 15:26:26 +02:00
Blaz Kristan
ec7f69d559
Merge branch '0_15' into bus-config
2024-09-12 15:22:56 +02:00
Blaz Kristan
a8c5bf2573
Ease IRAM
2024-09-12 15:22:37 +02:00
Blaz Kristan
f12de61d7f
Merge branch '0_15' into bus-config
2024-09-12 15:08:10 +02:00
Blaz Kristan
71fcd6482d
Fix CRLF in boblight
2024-09-12 15:07:49 +02:00
Blaz Kristan
e59b38a5d2
Fix unsigned long in debug printf
2024-09-12 15:04:10 +02:00
Damian Schneider
b07658b460
improved Segment::setPixelColorXY a tiny bit
...
uses less flash so it should be faster (did not notice any FPS difference though)
also cleaned code in ColorFromPaletteWLED (it is not faster, same amount of code)
2024-09-12 14:09:09 +02:00
Blaž Kristan
5b8d9d1510
Merge branch '0_15' into bus-config
2024-09-12 08:49:04 +02:00
Blaž Kristan
6169c458bf
Remove void
2024-09-12 08:48:31 +02:00
Blaž Kristan
23400d0449
Conditional IRAM for gamma
2024-09-12 08:30:46 +02:00
Damian Schneider
992d11be10
Improvements in get/set PixelColor()
...
-calculations for virtual strips are done on each call, which is unnecessary. moved them into the if statement.
2024-09-12 08:28:30 +02:00
Damian Schneider
feac45fd0a
improvement in color_add
...
its not faster but cleaner (and uses less flash)
2024-09-12 07:45:49 +02:00
Damian Schneider
934176818f
more improvements to color_scale() now even faster.
...
tested and working, also tested video
2024-09-12 06:43:20 +02:00
PaoloTK
c5435ec1fa
Merge remote-tracking branch 'AC/bus-config' into compile_different_busses
2024-09-11 23:04:37 +02:00
Damian Schneider
c3f472fbcb
some improvements to consider
...
no real difference in FPS but code is faster.
also 160bytes smaller, meaning it is actually faster
2024-09-11 21:41:42 +02:00
Blaz Kristan
eae5a74a11
color_fade bugfix
...
impure void remove
optimisations: hot
2024-09-11 17:14:59 +02:00
Blaz Kristan
5df1a223c2
Pre-allocate COM vector
2024-09-11 16:45:39 +02:00
Blaž Kristan
81382a4bc0
Merge pull request #4131 from iammattcoleman/update-temperature-dependency
...
Temperature usermod: update OneWire to 2.3.8
2024-09-11 16:24:25 +02:00