Remove networking operations from presentation layer (#1033)

* Remove networking operations from presentation layer
pull/1024/head^2
Ben Meadors 2021-12-28 14:17:56 -06:00 zatwierdzone przez GitHub
rodzic a70b849039
commit 1063415292
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -619,11 +619,6 @@ static void drawNodeInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_
n = nodeDB.getNodeByIndex(nodeIndex);
}
displayedNodeNum = n->num;
// We just changed to a new node screen, ask that node for updated state if it's older than 2 minutes
if (sinceLastSeen(n) > 120) {
service.sendNetworkPing(displayedNodeNum, true);
}
}
NodeInfo *node = nodeDB.getNodeByIndex(nodeIndex);