confirmed only if big difference in weight
This commit is contained in:
parent
fecc1bf67b
commit
0c553eed56
|
|
@ -688,8 +688,8 @@ void StartNewIteration() {
|
|||
gCatena.SafePrintf("startSendingUplink(), my_position: %d, iteration: %d, package_counter: %d, big_difference: %d\n", my_position, iteration, package_counter, big_difference);
|
||||
}
|
||||
// the first <INIT_PACKETS> packets are "Init-Packets" or each INIT_PACKAGE_INTERVAL ...
|
||||
// send confirmed if Init-Packet or big_difference in weight
|
||||
startSendingUplink(next_package_is_init_package, big_difference || next_package_is_init_package);
|
||||
// send confirmed if big_difference in weight
|
||||
startSendingUplink(next_package_is_init_package, big_difference);
|
||||
next_package_is_init_package = ((iteration < INIT_PACKETS) || ((package_counter % INIT_PACKAGE_INTERVAL) == 0));
|
||||
|
||||
if (config_data.debug_level > 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue