Damian Schneider
5e29f2c1b7
fixed atan2_t
...
approximation was incorrect, now doing it right.
also removed hypotf() from octopus, saving a little flash.
2024-10-15 20:11:33 +02:00
Damian Schneider
44e28f96e0
Fix for Octopus on ESP32 C3
...
Apparently the C3 can not convert negative floats to uint8_t directly, casting it into an int first fixes it.
2024-10-15 13:49:58 +02:00
Blaž Kristan
a0e81da8c5
WLED 0.15.0-b6 release ( #4180 )
...
* modified Improv chip & version handling
* Update build and changelog
2024-10-14 20:13:59 +02:00
AlDIY
01e07ca0bc
Update xml.cpp
2024-10-13 20:34:18 +03:00
Frank
1468ee5fde
Merge pull request #4188 from LuisFadini/0_15_brt_timezone
...
Added BRT timezone
2024-10-13 11:01:05 +02:00
Blaž Kristan
49f044ecde
Better fix for #4154
2024-10-13 10:43:56 +02:00
Luis
37f32ab197
Added BRT timezone
2024-10-12 10:56:40 -03:00
maxi4329
a60231ba59
Fixed the positioning of the "Download the latest binary" button ( #4184 )
...
* fixed the positioning of the download button
* fixed space after "Download the latest binary:" disapering after building
* fixed typo
---------
Co-authored-by: maxi4329 <maxi4329>
2024-10-09 22:10:59 +02:00
Blaž Kristan
c8dafede6d
Merge pull request #4183 from PaoloTK/autosegment_outputs_flag
...
Add WLED_AUTOSEGMENTS compile flag
2024-10-09 22:00:12 +02:00
Blaž Kristan
7deea9eb75
Minor button & rover CSS tweak.
2024-10-07 17:52:36 +02:00
Blaž Kristan
5e9a46d54d
Fix for #4154
2024-10-07 17:15:35 +02:00
PaoloTK
488974dd3e
change flag
2024-10-07 10:39:45 +02:00
PaoloTK
5975b9125f
add autosegment outputs compile flag
2024-10-06 22:56:30 +02:00
Damian Schneider
f301296f1e
added rounding to sin8_t
...
thx to @softhack007
2024-10-06 21:27:58 +02:00
Blaž Kristan
407477dc68
Fix for #4168
...
- set min value to 0 for disabled ABL
2024-10-06 15:42:58 +02:00
Blaz Kristan
1b0ce9a123
Fix for #4179
2024-10-05 15:00:58 +02:00
Damian Schneider
7b855c851d
Added integer based sin()/cos()
functions, changed all trig functions to wled_math
...
- `sin16_t() / cos16_t()` are faster and more accurate than fastled versions
- `sin_approx() / cos_approx()` are float wrappers for `sin16_t() / cos16_t()` and are accurate enough to replace `sinf()/cosf()`
- `atan2()` is used only in octopus to calculate center offset, new approximated version saves flash
- `tan(), atan(), asin(), acos(), floor(), fmod()` are used only for sunrise/sunset calculation, using wled_math version saves flash
- `beatsinx()` replacements are to make use of new `sin16_t()/sin8_t()` functions to reduce flash size
- Extensively tested surnise/sunset calculation: deviation is 1min. max
- Tested some of the relevant FX and found no visual difference: Julia, 2D Drift, Drift Rose, Ghost rider, Rotozoomer, Palette, Arc 1D expansion
- total flash savings: 7.4k
2024-10-05 12:32:41 +02:00
Blaž Kristan
ba636b17a0
Merge pull request #4175 from Xevel/fix_polybus_canshow
...
fix Polybus canShow
2024-10-03 16:19:44 +02:00
Nicolas Saugnier
949b9fb10e
Fixed Polybus.canShow always returning true on ESP32
2024-10-03 15:21:39 +02:00
Nicolas Saugnier
ae1b6af0d4
Indent formatting...
2024-10-03 11:07:58 +02:00
Nicolas Saugnier
dd27504d30
Fixed Improv rejecting all properly formatted packets.
2024-10-03 11:04:47 +02:00
Blaz Kristan
c30a08cfc5
Merge branch '0_15' of https://github.com/aircoookie/WLED into 0_15
2024-10-02 20:16:41 +02:00
Blaz Kristan
a4c49aa35e
Fix for #4005
2024-10-02 20:15:58 +02:00
Frank
402fba734a
bugfix for holes in 2D DNA Spiral
...
Holes were visible at height > 32. Root cause: "lerp8x8" seems to be inaccurate --> replaced by a simple linear calculation.
2024-10-02 16:34:36 +02:00
Frank
262af0678f
colored burst effect bugfix (swapped XY dimensions)
...
fixing a bug where width and height got swapped (visible on non-square panels)
2024-09-30 18:35:14 +02:00
Frank
3765d558b6
akemi bugfix fix
...
map2 --> map
2024-09-30 18:26:00 +02:00
Frank
4ed8ded502
Akemi bugfix for panel width > 32
...
due to a math accident, Akemi did not show proper GEQ bands in its hands when width>32
2024-09-30 17:44:38 +02:00
Frank
d3c401ed4e
wu_pixel small optimization
...
5% faster
2024-09-29 19:29:12 +02:00
Blaz Kristan
10d8cfde85
Fix FX filter bug
2024-09-29 13:00:07 +02: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
Blaž Kristan
c600c6da63
Bus length fix
2024-09-25 09:33:16 +02:00
Blaz Kristan
3f3c986932
Merge branch '0_15' into end_oappend_v2
2024-09-24 21:43:47 +02:00
Blaz Kristan
3ccc5babc1
Remov superfluous #if
2024-09-23 20:39:16 +02:00
Blaz Kristan
bd7cd32f91
Add mandatory refresh capability to remove type dependency.
2024-09-22 13:56:14 +02:00
Blaz Kristan
9cb3531e2d
Remove erroneous file
...
Fix constant dependancy
2024-09-21 22:24:36 +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
16f61ea96d
Usermod: Implement shim for oappend
...
Use a static Print* to transform old oappend calls to print calls.
2024-09-18 23:18:52 -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
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
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