mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
Trunkt
This commit is contained in:
parent
14019f2afa
commit
9bebad2dbe
@ -170,16 +170,16 @@ void WaypointModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state,
|
|||||||
else
|
else
|
||||||
strncpy(distStr, "? km", sizeof(distStr));
|
strncpy(distStr, "? km", sizeof(distStr));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw compass circle
|
// Draw compass circle
|
||||||
display->drawCircle(compassX, compassY, compassDiam / 2);
|
display->drawCircle(compassX, compassY, compassDiam / 2);
|
||||||
|
|
||||||
// Undo color-inversion, if set prior to drawing header
|
// Undo color-inversion, if set prior to drawing header
|
||||||
// Unsure of expected behavior? For now: copy drawNodeInfo
|
// Unsure of expected behavior? For now: copy drawNodeInfo
|
||||||
if (config.display.displaymode == meshtastic_Config_DisplayConfig_DisplayMode_INVERTED) {
|
if (config.display.displaymode == meshtastic_Config_DisplayConfig_DisplayMode_INVERTED) {
|
||||||
display->setColor(BLACK);
|
display->setColor(BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must be after distStr is populated
|
// Must be after distStr is populated
|
||||||
screen->drawColumns(display, x, y, fields);
|
screen->drawColumns(display, x, y, fields);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user