Update to work with my font size change

1.2-legacy
Kevin Hester 2020-10-17 08:44:04 +08:00
rodzic d9dcb33576
commit 05ca3c3d56
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1100,8 +1100,9 @@ void DebugInfo::drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *stat
#ifndef NO_ESP32
// Show CPU Frequency.
display->drawString(x + SCREEN_WIDTH - display->getStringWidth("CPU " + String(getCpuFrequencyMhz()) + "MHz"), y + FONT_HEIGHT * 1,
"CPU " + String(getCpuFrequencyMhz()) + "MHz");
display->drawString(x + SCREEN_WIDTH - display->getStringWidth("CPU " + String(getCpuFrequencyMhz()) + "MHz"),
y + FONT_HEIGHT_SMALL * 1,
"CPU " + String(getCpuFrequencyMhz()) + "MHz");
#endif
// Line 3