         continue;
       }
       line += currentChar;
-      //line[index] = currentChar;
-      //index++;
     }
   }
 
   frame.timestamp = millis();
 
+#if MODE_TEST
   Serial.println("Frame has been read");
   Serial.flush();
+#endif
 }
 
 /* Permet de vider le buffer du serial

  Serial.print("-");
  Serial.println(frame.timestamp);
  Serial.flush();
  
  b[currentIndex] = frame;
  currentIndex++;
}

  __charIndex = (__charIndex + 1) % 170;
  return c;
}
#endif

/* Retourne le prochain caractère en entrée */
char getChar() {
  /*return getCharSimulated();*/
  while(!cptSerial->available()) {}
  return cptSerial->read() & 0x7F;
}
/* Reset le tableau de relevé de valeurs */
void resetTable()
{
#if MODE_TEST
  Serial.println("Reset table");
  Serial.flush();
#endif

 for(int i = 0 ; i < VALUES_LENGTH ; i++)
 {
  b[i].HC = 0;
