Use the SX1262 receive duty cycle mode to get radio current draw down to

about 2.5mA @ 3V while in receive mode.
This commit is contained in:
geeksville
2020-05-24 19:23:50 -07:00
parent 48de631e04
commit 2770cc7de3
3 changed files with 19 additions and 6 deletions

View File

@@ -205,8 +205,9 @@ void Router::perhapsHandleReceived(MeshPacket *p)
if (ignore)
DEBUG_MSG("Ignoring incoming message, 0x%x is in our ignore list\n", p->from);
else if (ignore |= shouldFilterReceived(p))
DEBUG_MSG("Incoming message was filtered 0x%x\n", p->from);
else if (ignore |= shouldFilterReceived(p)) {
// DEBUG_MSG("Incoming message was filtered 0x%x\n", p->from);
}
// Note: we avoid calling shouldFilterReceived if we are supposed to ignore certain nodes - because some overrides might
// cache/learn of the existence of nodes (i.e. FloodRouter) that they should not