mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-14 22:47:18 +00:00
Compare commits
2 Commits
f37abe8f0f
...
71a90b3b78
Author | SHA1 | Date | |
---|---|---|---|
![]() |
71a90b3b78 | ||
![]() |
be73b099a7 |
@ -112,6 +112,8 @@ bool PacketHistory::wasRelayer(const uint8_t relayer, const uint32_t id, const N
|
|||||||
PacketRecord r;
|
PacketRecord r;
|
||||||
r.id = id;
|
r.id = id;
|
||||||
r.sender = sender;
|
r.sender = sender;
|
||||||
|
r.rxTimeMsec = 0;
|
||||||
|
r.next_hop = 0;
|
||||||
auto found = recentPackets.find(r);
|
auto found = recentPackets.find(r);
|
||||||
|
|
||||||
if (found == recentPackets.end()) {
|
if (found == recentPackets.end()) {
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "PhoneAPI.h"
|
#include "PhoneAPI.h"
|
||||||
#include "PowerFSM.h"
|
#include "PowerFSM.h"
|
||||||
#include "RadioInterface.h"
|
#include "RadioInterface.h"
|
||||||
|
#include "Router.h"
|
||||||
#include "TypeConversions.h"
|
#include "TypeConversions.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "xmodem.h"
|
#include "xmodem.h"
|
||||||
@ -636,4 +637,4 @@ int PhoneAPI::onNotify(uint32_t newValue)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return timeout ? -1 : 0; // If we timed out, MeshService should stop iterating through observers as we just removed one
|
return timeout ? -1 : 0; // If we timed out, MeshService should stop iterating through observers as we just removed one
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user