we now use 13 different channel numbers

This commit is contained in:
geeksville
2020-02-11 11:56:48 -08:00
parent 124c3e2edd
commit 5aaae9c4fe
12 changed files with 171 additions and 66 deletions

View File

@@ -301,10 +301,13 @@ void drawDebugInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, i
// The coordinates define the left starting point of the text
display->setTextAlignment(TEXT_ALIGN_LEFT);
static char usersStr[20];
snprintf(usersStr, sizeof(usersStr), "Users %d/%d", nodeDB.getNumOnlineNodes(), nodeDB.getNumNodes());
const char *fields[] = {
"Batt 89%",
"GPS 75%",
"Users 4/12",
usersStr,
NULL};
uint32_t yo = drawRows(display, x, y, fields);