add comments

This commit is contained in:
flavienhaas 2018-04-20 18:42:48 +02:00
parent e8baea6f4b
commit bfb7ffe288

View File

@ -50,7 +50,7 @@ void loop() {
if( longueurTrame>LENMAX ){ // copy of the frame to cache (LENMAX) and verify if the frame is to big if( longueurTrame>LENMAX ){ // copy of the frame to cache (LENMAX) and verify if the frame is to big
Serial.print("Trame reçue trop grande : "); Serial.print("Trame reçue trop grande : ");
Serial.println(longueurTrame); Serial.println(longueurTrame);
longueurTrame=LENMAX; // troncature longueurTrame=LENMAX; // cut the frame to LENMAX size
} }
for( int i=0; i<longueurTrame; i++ ){ for( int i=0; i<longueurTrame; i++ ){
tampon[i]=(byte)LoRa.read(); tampon[i]=(byte)LoRa.read();