include a human readable name for each channel

This commit is contained in:
geeksville
2020-02-11 19:06:12 -08:00
parent 03eaef2c8f
commit a0f2d1f18a
5 changed files with 24 additions and 10 deletions

View File

@@ -304,10 +304,14 @@ void drawDebugInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, i
static char usersStr[20];
snprintf(usersStr, sizeof(usersStr), "Users %d/%d", nodeDB.getNumOnlineNodes(), nodeDB.getNumNodes());
static char channelStr[20];
snprintf(channelStr, sizeof(channelStr), "Channel %s", channelSettings.name);
const char *fields[] = {
"Batt 89%",
"GPS 75%",
usersStr,
channelStr,
NULL};
uint32_t yo = drawRows(display, x, y, fields);