Commit Graph

3587 Commits

Author SHA1 Message Date
Brandon502
bff643f100 Update html_ui.h 2024-02-22 12:47:42 -05:00
Brandon502
017b572897 Expand1D PinWheel changes 2024-02-21 17:44:08 -05:00
Brandon502
3e131014b2 Added PinWheel Expand1D Effect 2024-02-20 17:26:36 -05:00
Frank
86b0eeafb7 Ledmaps loading bugfix (wrong size, memory corruption)
* File.readbytesuntil does not terminate strings. So the string buffer needs to be filled with zero's before reading.
* fix crashes (mem corruption) when ledmap file has too many / too few entries.
* initialize unused map places with "identity" (same led) mapping

before fix:
> Reading LED map from /ledmap1.json
> ("width": 60edmap1.json)  ("height": 90edmap1.json)
> resetSegments 1 60x90
> allocLeds (0,0 to 60,90), 16200 from 0
> allocLeds (0,0 to 60,90), 16200 from 6
> deserializeMap 60 x 90 customMappingTable alloc 5400 from 0

after:
> Reading LED map from /ledmap1.json
> ("width": 60)  ("height": 9)
> resetSegments 1 60x9
> allocLeds (0,0 to 60,9), 1620 from 0
> allocLeds (0,0 to 60,9), 1620 from 6
> deserializeMap 60 x 9
> deserializemap customMappingTable alloc 540 from 0
2024-02-20 15:10:25 +01:00
Frank
e833b898e4 bugfix: prevent IR malfunction with long LED strips / high framerates 2024-02-18 17:06:59 +01:00
Frank
0628152297 build number up 2024-02-18 16:59:03 +01:00
Frank
287c0f5df4 fastpath: use I2S driver for second bus
some user reported that this reduces random LEDs flickering
2024-02-18 16:58:13 +01:00
Blaz Kristan
e7285c7a03 Possible fix for #3589 & partial fix for #3605 2024-02-12 22:13:17 +01:00
Blaz Kristan
567d513a3b Prevent JSON buffer clear after failed lock attempt
(alternative to #3743)
2024-02-12 22:12:46 +01:00
Blaz Kristan
2a1f250961 Multiple analog button fix for #3549 2024-02-12 22:12:12 +01:00
Frank
c9b416a4fe prevent flickering during OTA
I've almost toasted my wiring due to uncontrolled LED flickering during OTA.
So here is the fix - it prevents any strip updates when OTA is ongoing.
2024-02-12 21:53:59 +01:00
Frank
7593c23105 minor fixies
* setup: print free filesystem space after mount
* loop: forgot to actually reset the stale lock
* handleConnection: (8266) user messages in case of "heap too low".
2024-02-12 21:51:23 +01:00
Will Tatam
705338448b Latest UI 2024-02-10 17:32:10 +00:00
Will Tatam
6970b82e37 Merge branch 'mdev' into dmx_input 2024-02-10 17:10:15 +00:00
Ewoud
5cf908ea25 Remove obsolute usermods - post 2024-02-08 23:02:10 +01:00
Ewoud
675dc29649 Remove obsolete usermods
- mode sort
- 4LD (non ALT)
- Rotary encoder (non ALT)
2024-02-08 22:54:06 +01:00
Frank
0bd32c7500 npm run build 2024-01-29 18:31:57 +01:00
Frank
769691449f . 2024-01-29 18:22:24 +01:00
Frank
9164998190 release -b30.36 preparation
0.14.1 as we have all relevant bugfixes for upstream.
2024-01-29 16:07:54 +01:00
Frank
3384953804 npm run build 2024-01-28 16:27:39 +01:00
Frank
a8897203a9 trying to make palette preview look close to real LED colors
FastLED palettes (from palettes.h) use gammas (2.6, 2.2, 2.5). Screens expect un-corrected colors, so we try to revert palette gamma correction in the browser.
2024-01-28 16:19:16 +01:00
Frank
27e0bff4ee make "segment off" work (MM specific) - fixes #90
fix for #90

In principle its dangerous to write pixels from the webserver callback, but in this case we should be save -  `suspendStripService=true` ensures that strip.service() is not active in the main loopTask.
2024-01-26 17:21:31 +01:00
Frank
302f18fbfe small speedup
* currentBri() is called for any setpixelColor(), so we can speed up everything (a bit) by allowing the compiler to inline which saves a few cycles of call/return overhead.
* aligned the function with upstream, and added another optimization by only calling progress() when a transition is active.
2024-01-26 17:08:37 +01:00
Frank
f456e065c6 Merge pull request #3722 from lost-hope/main
Usermod Klipper Percentage: Fix for include paths (windows backslash vs. linux slash)
2024-01-26 12:14:19 +01:00
Blaž Kristan
ad6903de38 Merge pull request #3723 from Derek4aty1/dnaSpiralFix
DNA Spiral Effect Speed Fix
2024-01-26 12:08:40 +01:00
Will Tatam
74da71995c Hide DMX port as just confusing to users 2024-01-17 18:03:16 +00:00
Will Tatam
bc8feed852 Tweak DMX settings UI 2024-01-16 20:13:52 +00:00
Will Tatam
6ffbb40cf9 HTML updates 2024-01-16 18:33:24 +00:00
Frank
ae059cf229 running gag
SETTINGS_STACK_BUF_SIZE was too small (again).
2024-01-16 16:10:59 +01:00
netmindz
42109fe606 Merge branch 'mdev' into dmx_input 2024-01-16 13:27:42 +00:00
Frank
b1fa62cef6 npm run build 2024-01-15 15:59:17 +01:00
Blaz Kristan
854425eb9c Fix for #3672 2024-01-15 15:37:21 +01:00
Blaž Kristan
d0e36bdeef Merge pull request #3674 from WoodyLetsCode/cpal
Better sorting and naming of static palettes in the Custom Palette Editor
2024-01-15 15:34:52 +01:00
Frank
f7df60932a npm run build
regenerate UI files
2024-01-10 21:25:09 +01:00
Blaz Kristan
ed844677cb Fix for #3665 2024-01-10 21:17:57 +01:00
Frank
e8a3b5f442 fix for #3655
make WS2814 explicit in LED driver drop-down menu
2024-01-10 21:17:57 +01:00
Blaž Kristan
3b6100a057 Merge pull request #3648 from willmmiles/json-response-locking
Expand JSON buffer lock scope to entire web reply
2024-01-08 11:54:58 +01:00
Frank
e33bcb822e USB CDC: avoid hung devices when USB host is not connected
see https://github.com/espressif/arduino-esp32/issues/9043

"
The S3, C3, C6 and H2 that have HW CDC JTAG USB port may cause a delay when using HWCDC in Serial by activating CDC on Boot and selecting the USB Mode for Hardware CDC and JTAG. This happens when no USB application in USB Host side is started to receive the data sent by the ESP32xx.

The USB CDC buffer gets full and the Arduino HW CDC layer will timeout, by default 100ms, until give up trying to send the CDC data.

As a workaround, it is necessary to use HWCDC::setTxTimeoutMs(timeout_ms) and set it to zero.
"
2024-01-04 16:03:46 +01:00
Frank
889e27fed5 npm run build 2024-01-03 17:14:12 +01:00
Frank
8a4792b4c4 version bump 0.14.0-b29.35
release prep
2024-01-03 17:10:08 +01:00
Frank
42c3243136 effect metadata 2024-01-03 17:01:44 +01:00
Frank
2265af57c9 pin info for PICO boards (cosmetic)
pico boards don't have PSRAM, but they reserve 16+17 for embedded flash
2024-01-02 19:49:41 +01:00
Frank
b6a7474efb npm run build 2024-01-02 17:55:08 +01:00
Blaz Kristan
aa9e8bbe4d Bugfix #3632 2024-01-02 17:31:55 +01:00
Blaž Kristan
620075fc02 Merge pull request #3617 from imeszaros/cpal-mobile
Make palette editor more mobile friendly
2024-01-02 17:26:34 +01:00
Frank
01c187f8aa bugfix for #104
this avoids heap corruption, by double-checking that "use global leds" is not configured, before trying to free ledsrgb[].

It is still a mystery why Segment::_globalLeds == nullptr.
2024-01-02 15:52:00 +01:00
Frank
f699a56220 tiny correction 2023-12-31 12:03:08 +01:00
Frank
8e996b0b46 parameter tuning 2023-12-31 01:21:57 +01:00
Frank
4b89016c2d audio-enhanced standard effects
backported from WLED-SR
2023-12-31 00:01:29 +01:00
Frank
03a909ac8a esp32_4MB_XL was over the limits (flash usage)
still only 256 bytes left for program
2023-12-29 22:53:26 +01:00