kopia lustrzana https://github.com/Aircoookie/WLED
				
				
				
			Fixed mem calculation.
							rodzic
							
								
									caa9cc32d7
								
							
						
					
					
						commit
						8f1cee2e61
					
				|  | @ -493,7 +493,6 @@ class BusManager { | |||
|         return len*6; | ||||
|       #endif | ||||
|     } | ||||
|     if (type >= 10 && type <= 15) return len*6; // double buffer for network
 | ||||
|     if (type > 31 && type < 48)   return 5; | ||||
|     if (type == 44 || type == 45) return len*4; //RGBW
 | ||||
|     return len*3; | ||||
|  |  | |||
|  | @ -105,7 +105,6 @@ | |||
|     } | ||||
|     //returns mem usage | ||||
|     function getMem(t, len, p0) { | ||||
|       if (t >= 10 && t <= 12) return len*6; // double buffer for network UDP bus | ||||
|       if (t > 15 && t < 32) { | ||||
|         if (maxM < 10000 && p0==3) {    //8266 DMA uses 5x the mem | ||||
|           if (t > 29) return len*20; //RGBW | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Ładowanie…
	
		Reference in New Issue
	
	 Blaz Kristan
						Blaz Kristan