Blaž Kristan
3a426e258b
Merge branch 'main' into blending-styles
2025-01-20 11:19:43 +01:00
Frank
013684b5ca
making some parameters `const`, plus minor improvements
...
* changed some parameters to "pointer to const", so compiler can better optimize code size and performance - because data behind a const pointer will never be modified by the called function.
* made setPixelColor `const`
* fixed a few potentially uninitialized local vars (the may have random values if not initialized)
* avoid shadowing "state" in handleSerial()
* plus a few very minor improvements
2025-01-19 07:35:46 +01:00
Will Tatam
a582786655
Port over remaining WLEDMM part of DMX Input and adapt for AC
2025-01-16 12:48:36 +00:00
Will Tatam
3996f02dea
Revert "Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT"
...
This reverts commit 7f9cc67518
.
2025-01-16 12:19:25 +00:00
Arne
7f9cc67518
Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT
2025-01-16 12:05:40 +00:00
Arne
84eb6fd460
Add dmx input port to configuration
2025-01-16 11:47:48 +00:00
Arne
a0ca243955
Move dmx_input pin allocations from wled.cpp to dmx.cpp
2025-01-16 11:20:19 +00:00
Arne
702d085117
rename global dmx... variables to dmxInput...
...
This is the first step in supporting both dmx input and dmx output on different pins.
2025-01-16 11:16:39 +00:00
Blaž Kristan
a65f97ac75
Merge branch 'main' into blending-styles
2025-01-14 22:39:20 +01:00
Will Miles
a121f5b61b
Merge pull request #4286 from blazoncek/xml-bugfix
...
xml comma bugfix + few string optimisations
2024-11-28 09:48:29 -05: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
49fb16e2c6
Introduce printSetInputMaxlength to properly set an inputs maxlength variable
2024-11-21 10:52:22 +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
Blaž Kristan
86be5df475
xml comma bugfix + few optimisations
2024-11-15 19:03:46 +01:00
Blaž Kristan
6e89346f00
WLED 0.15.0-b7 release
...
- fix for #4172
- fix for #4230
- /json/live enabled when WS disabled
2024-10-27 18:47:10 +01:00
Will Miles
b3b326738c
Fix incorrect SET_F calls
...
Replace with F() or PSTR() as appropriate.
2024-10-23 21:26:40 -04:00
AlDIY
01e07ca0bc
Update xml.cpp
2024-10-13 20:34:18 +03:00
Will Miles
9a4b56db6e
Fix incorrect F-strings
...
A merge issue with end-oappend: some strings did not get correctly
converted from SET_F() to F(), which can cause crashes.
2024-09-27 21:06:21 -04:00
Blaz Kristan
3f3c986932
Merge branch '0_15' into end_oappend_v2
2024-09-24 21:43:47 +02:00
Blaz Kristan
fafb2eba69
Merge branch '0_15' into blending-styles
2024-09-23 20:36:08 +02:00
Blaz Kristan
b50e6e0d90
Static PinManager & UsermodManager
...
- saves a few bytes of flash
2024-09-19 21:44:11 +02:00
Will Miles
45cf90094a
Rename destination for getSettingsJS
...
Use a name that makes it a bit clearer what the output is. The new name
is applied consistently through most uses.
Usermods are not yet updated.
2024-09-18 23:35:36 -04:00
Blaz Kristan
ae1df20893
New names
2024-09-18 23:32:15 -04:00
Will Miles
71148740d4
Replace sappend and sappends
...
Use named functions to describe what's being printed.
2024-09-18 23:31:19 -04:00
Will Miles
4ef583c844
xml: Print optimization
...
Reduce the total number of calls by using printf_P and skipping atoi().
2024-09-18 23:27:42 -04:00
Will Miles
32f9616b6e
Remove oappend
...
Remove the large stack buffer as we're just going to copy it in to a
heap buffer anyways. Later we can refine the length estimation or use a
rope-style dynamic data structure like DynamicBufferList.
2024-09-18 23:18:51 -04: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
ce5ee65d60
Merge branch '0_15' into blending-styles
2024-09-15 11:05:16 +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
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
5b8d9d1510
Merge branch '0_15' into bus-config
2024-09-12 08:49:04 +02:00
Blaz Kristan
1cee1c3562
Merge branch '0_15' into blending-styles
2024-09-11 17:28:48 +02:00
Felddy
83699bc5c3
Add support for toggle of palette sync
2024-09-10 18:02:29 +00:00
Blaz Kristan
20444ee7d5
Debug optimisations
2024-09-10 15:20:34 +02:00
PaoloTK
d79d5dbadd
remove getReadOnlyPins() function
2024-09-03 17:29:38 +02:00
PaoloTK
9bb979f2e8
bug fix
2024-09-01 21:46:30 +02:00
PaoloTK
fcc344ba99
add read/only pin logic and check
2024-09-01 21:31:19 +02:00
Blaz Kristan
dbb47d506c
Bus manager rework
...
- move macros to constexpr methods
- introduce type capabilities for UI
- add phase shifting (POC) to PWM
- replace PWM CIE LUT with calculated curve
CIE & phase shifting credit @dedehai
2024-08-24 11:35:32 +02:00
Blaz Kristan
6f3267aee9
Dynamic bus config
...
- provide LED types from BusManager for settings
Credit: @netmindz for the idea.
2024-08-22 17:15:12 +02:00
Blaz Kristan
0430dc5a1f
Merge branch '0_15' into blending-styles
2024-08-17 20:55:56 +02:00
srg74
79b3ce141c
correct spelling error xml.cpp
2024-08-17 14:42:44 -04:00
Blaz Kristan
011afd0910
Merge branch '0_15' into blending-styles
2024-08-17 15:24:20 +02:00
Blaz Kristan
8d00e4d31d
Save some tiny amounts of RAM
...
- use `-D WLED_SAVE_RAM`
2024-08-17 15:09:41 +02:00
Blaz Kristan
577fce69e2
MQTT unification and cleanup
2024-08-15 16:18:34 +02:00
Blaz Kristan
13ed78be96
Merge branch '0_15' into blending-styles
2024-07-11 21:30:10 +02:00
Blaz Kristan
cd1ede38a7
Size & speed optimisations
2024-07-11 21:22:58 +02:00