Commit a556053c authored by Michel Yoeung's avatar Michel Yoeung

modif || en && dans la condition de traitement d'un paquet recu

parent 39f816e5
......@@ -379,7 +379,7 @@ void MRFI_RxCompleteISR()
_sequence_id = packet.frame[SEQUENCE_ID_BYTE];
ttl--; hops++;
if(ttl > 0 || !message_in_history(src_addr, _sequence_id)) {
if(ttl > 0 && !message_in_history(src_addr, _sequence_id)) {
// mise à jour de l'historique des messages reçus
//update_history(src_addr, _sequence_id);
// differents traitement selon du flag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment