Fix for mamory requirement calculation.
- network bus using double buffer
This commit is contained in:
parent
a94b5ba0c0
commit
9092549f07
@ -104,9 +104,7 @@
|
|||||||
}
|
}
|
||||||
//returns mem usage
|
//returns mem usage
|
||||||
function getMem(t, len, p0) {
|
function getMem(t, len, p0) {
|
||||||
if (t==2 || t==3) {
|
if (t >= 10 && t <= 12) return len*6; // double buffer for network UDP bus
|
||||||
return len*(t+1);
|
|
||||||
}
|
|
||||||
if (t > 15 && t < 32) {
|
if (t > 15 && t < 32) {
|
||||||
if (maxM < 10000 && p0==3) { //8266 DMA uses 5x the mem
|
if (maxM < 10000 && p0==3) { //8266 DMA uses 5x the mem
|
||||||
if (t > 29) return len*20; //RGBW
|
if (t > 29) return len*20; //RGBW
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user