Skip to content

Commit 8f1cee2

Browse files
committed
Fixed mem calculation.
1 parent caa9cc3 commit 8f1cee2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

wled00/bus_manager.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ class BusManager {
493493
return len*6;
494494
#endif
495495
}
496-
if (type >= 10 && type <= 15) return len*6; // double buffer for network
497496
if (type > 31 && type < 48) return 5;
498497
if (type == 44 || type == 45) return len*4; //RGBW
499498
return len*3;

wled00/data/settings_leds.htm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
}
106106
//returns mem usage
107107
function getMem(t, len, p0) {
108-
if (t >= 10 && t <= 12) return len*6; // double buffer for network UDP bus
109108
if (t > 15 && t < 32) {
110109
if (maxM < 10000 && p0==3) { //8266 DMA uses 5x the mem
111110
if (t > 29) return len*20; //RGBW

0 commit comments

Comments
 (0)