Frank
5acbb85748
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-07 20:33:10 +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 49fb16e2c6528ddc98cccc352cc8f0d4a5f62a13.
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
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
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
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
srg74
79b3ce141c
correct spelling error xml.cpp
2024-08-17 14:42:44 -04: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
cd1ede38a7
Size & speed optimisations
2024-07-11 21:22:58 +02:00
Blaz Kristan
0ff4016250
WLED 0.15.0-b4 release
...
- LED settings update (limit to available outputs)
- minor fixes
2024-06-29 20:22:47 +02:00
Blaz Kristan
e753f3849e
Revert "WLED 0.15.0-b4 release"
...
Messed FX_fcn.cpp CRLF conversion
2024-06-29 20:18:30 +02:00
Blaz Kristan
7b248c8fb2
WLED 0.15.0-b4 release
...
- LED settings update (limit to available outputs)
- minor fixes
2024-06-29 16:36:27 +02:00
Blaz Kristan
0af3063127
Enhancements
...
- edit WiFi TX power (ESP32)
- keep current ledmap ID in UI
- limit outputs in UI based on length
- wifi.ap addition to JSON Info
- relay pin init bugfix
- file editor button in UI
2024-06-23 14:08:18 +02:00
Blaz Kristan
ed0e73803f
Minor tweaks for ESP8266
...
- update was restarting device on some occasions
- a bit of throttling in UI
2024-06-14 22:12:09 +02:00
Blaž Kristan
5183af4e8a
Typo.
2024-05-12 11:30:57 +02:00
Blaž Kristan
1ff5cb0596
Experimental parallel I2S support for ESP32
...
- increased outputs to 17
- increased max possible color order overrides
- use WLED_USE_PARALLEL_I2S during compile
WARNING: Do not set up more than 256 LEDs per output when using parallel I2S with NeoPixelBus less than 2.9.0
2024-05-12 11:12:13 +02:00
Blaž Kristan
b3acc97d03
Merge pull request #3920 from Suxsem/relay-3-states
...
Relay open drain output (allow esp32 to drive 5v relay modules)
2024-04-26 07:06:03 +02:00
Blaz Kristan
674481f0d1
Multiple fixes
...
- several compile warning fixes
- multipin LED compile config
- release info (update page, JSON "info")
- WiFi scan fix if no networks found
- UI glitch when no presets are found fix
With multipin LED config it is now possible to assign GPIO to PWM RGB outputs.
Achieved by having length of DATA_PINS be divisble by lengt of PIXEL_COUNTS.
2024-04-23 19:05:49 +02:00
Suxsem
fa32faf759
feat(new): relay open drain output
2024-04-21 13:37:07 +02:00
Blaz Kristan
a106342439
PICO & WROVER runtime support
...
return of GPIO16
2024-04-04 23:09:59 +02:00
Blaz Kristan
5f37c19d42
PSRAM fix & CCT IC
...
- prevent PSRAM use on ESP32 rev.1 without compile fix
- add runtime selection for CCT IC (Athom 15W bulb)
2024-03-28 16:03:06 +01:00
Blaz Kristan
47f44680a3
Multi-update
...
- 0.15.0-b2
- WS2805 support (NeoPixelBus 2.7.9)
- generic PSRAM support (ESP32 rev.1 still needs compile fix)
- BREAKING: default LEDPIN 2 (due to PSRAM)
- PinManager optimisations
2024-03-24 17:37:11 +01:00
Will Miles
6de617ecd5
getSettingsJS: Fix missing DISABLE_INFRARED guard
2024-03-17 16:28:09 -04:00