kopia lustrzana https://github.com/meshtastic/firmware
pull/1750/head
rodzic
53d48e8f61
commit
fefcbb147b
|
@ -1646,6 +1646,9 @@ void DebugInfo::drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *stat
|
|||
// adjust Brightness cycle trough 1 to 254 as long as attachDuringLongPress is true
|
||||
void Screen::adjustBrightness()
|
||||
{
|
||||
if (!useDisplay)
|
||||
return;
|
||||
|
||||
if (brightness == 254) {
|
||||
brightness = 0;
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue