Reduced the number of packets that needs to be received
This commit is contained in:
parent
4de1816e36
commit
f9d00bc8bf
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ while (true) {
|
|||
nr_packets[id]++;
|
||||
//log.log("Node " + id + " received " + nr_packets[id] + " messages\n");
|
||||
|
||||
if (nr_packets[1] >= 10 && nr_packets[2] >= 10) {
|
||||
if (nr_packets[1] >= 4 && nr_packets[2] >= 4) {
|
||||
log.log("Node 1: " + nr_packets[1] + ".\nNode 2: " + nr_packets[2] + ".\n");
|
||||
log.testOK(); /* Report test success */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue