Update to work with my font size change

This commit is contained in:
Kevin Hester 2020-10-17 08:44:04 +08:00
parent d9dcb33576
commit 05ca3c3d56

View File

@ -1100,7 +1100,8 @@ 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,
display->drawString(x + SCREEN_WIDTH - display->getStringWidth("CPU " + String(getCpuFrequencyMhz()) + "MHz"),
y + FONT_HEIGHT_SMALL * 1,
"CPU " + String(getCpuFrequencyMhz()) + "MHz");
#endif