Eliminar calculo innecesario
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
		@@ -164,7 +164,7 @@ std::string CpuMon::obtenerBarra(float *porcentaje, uint8_t *cpu) {
 | 
			
		||||
 | 
			
		||||
  // Bucle para almohadillas
 | 
			
		||||
  int num_veces = (int)(ancho * *porcentaje);
 | 
			
		||||
  for (uint16_t i = 0; i < (int)(ancho * *porcentaje); i++) {
 | 
			
		||||
  for (uint16_t i = 0; i < num_veces; i++) {
 | 
			
		||||
    barra.append("#");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user