minor fixups to get nrf52 building again

This commit is contained in:
geeksville
2020-05-09 21:02:56 -07:00
parent 190a3c2d6b
commit 2fa595523f
6 changed files with 16 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ bool FloodingRouter::wasSeenRecently(const MeshPacket *p)
}
uint32_t now = millis();
for (int i = 0; i < recentBroadcasts.size();) {
for (size_t i = 0; i < recentBroadcasts.size();) {
BroadcastRecord &r = recentBroadcasts[i];
if ((now - r.rxTimeMsec) >= FLOOD_EXPIRE_TIME) {