Add optional battery thresholds for repeat and flood forwarding
This commit is contained in:
1 parent
3d29a1d811
commit
af106a0ee9
25 files changed
+1170
-19
No files matched your search
@@ -17,6 +17,7 @@ Packet::Packet() {
|
||||
radio_bound = false; radio_local = true;
|
||||
tx_radio = RADIO_TX_AUTO;
|
||||
radio_reply = radio_reply_force = false;
|
||||
forwarded = false;
|
||||
#if defined(WITH_UDP_BRIDGE)
|
||||
udp_bridge_ingress = false;
|
||||
#endif
|
||||
@@ -88,6 +89,7 @@ bool Packet::readFrom(const uint8_t src[], uint8_t len) {
|
||||
header = src[i++];
|
||||
tx_radio = RADIO_TX_AUTO;
|
||||
radio_reply = radio_reply_force = false;
|
||||
forwarded = false;
|
||||
#if defined(WITH_UDP_BRIDGE)
|
||||
udp_bridge_ingress = false;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user