mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Namespace fixes
This commit is contained in:
parent
1e6e9e0be4
commit
dd723cb54c
@ -222,7 +222,7 @@ void Screen::drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *sta
|
||||
{
|
||||
display->setTextAlignment(TEXT_ALIGN_LEFT);
|
||||
|
||||
drawBattery(display, x, y + 7, imgBattery, powerStatus);
|
||||
UIRenderer::drawBattery(display, x, y + 7, imgBattery, powerStatus);
|
||||
|
||||
if (powerStatus->getHasBattery()) {
|
||||
String batteryPercent = String(powerStatus->getBatteryChargePercent()) + "%";
|
||||
@ -454,7 +454,7 @@ void Screen::drawAnalogClockFrame(OLEDDisplay *display, OLEDDisplayUiState *stat
|
||||
{
|
||||
display->setTextAlignment(TEXT_ALIGN_LEFT);
|
||||
|
||||
drawBattery(display, x, y + 7, imgBattery, powerStatus);
|
||||
UIRenderer::drawBattery(display, x, y + 7, imgBattery, powerStatus);
|
||||
|
||||
if (powerStatus->getHasBattery()) {
|
||||
String batteryPercent = String(powerStatus->getBatteryChargePercent()) + "%";
|
||||
|
Loading…
Reference in New Issue
Block a user