add comments
This commit is contained in:
parent
e8baea6f4b
commit
bfb7ffe288
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user