Fix for device display issues

This commit is contained in:
Manuel Verch
2023-04-02 21:28:12 +02:00
parent b4bcae98cd
commit 71479a6b17
2 changed files with 17 additions and 4 deletions

View File

@@ -1206,7 +1206,7 @@ void Screen::setFrames()
LOG_DEBUG("Total frame count: %d\n", totalFrameCount);
// We don't show the node info our our node (if we have it yet - we should)
size_t numnodes = nodeStatus->getNumTotal();
size_t numnodes = nodeDB.getNumNodes();
if (numnodes > 0)
numnodes--;