mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-09 14:51:59 +00:00
show a max of four node screens in the scrolling list
This commit is contained in:
parent
057b04a88a
commit
6d2cd73599
@ -946,7 +946,9 @@ void Screen::setFrames()
|
||||
normalFrames[numframes++] = drawTextMessageFrame;
|
||||
|
||||
// then all the nodes
|
||||
for (size_t i = 0; i < numnodes; i++)
|
||||
// We only show a few nodes in our scrolling list - because meshes with many nodes would have too many screens
|
||||
size_t numToShow = min(numnodes, 4U);
|
||||
for (size_t i = 0; i < numToShow; i++)
|
||||
normalFrames[numframes++] = drawNodeInfo;
|
||||
|
||||
// then the debug info
|
||||
|
Loading…
Reference in New Issue
Block a user