Change RF95 to deliver packets straight from ISR and no polling for anything

This commit is contained in:
geeksville
2020-02-18 20:06:01 -08:00
parent bf491efddf
commit acce254685
11 changed files with 324 additions and 62 deletions

View File

@@ -292,6 +292,7 @@ void NodeDB::updateFrom(const MeshPacket &mp)
}
/// Find a node in our DB, return null for missing
/// NOTE: This function might be called from an ISR
NodeInfo *NodeDB::getNode(NodeNum n)
{
for (int i = 0; i < *numNodes; i++)