Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
UnleashedCommands only if config.device.serial_enabled = false
Browse files Browse the repository at this point in the history
  • Loading branch information
upchui committed Mar 11, 2024
1 parent ef519a7 commit bf8f088
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/graphics/Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void drawIconScreen(const char *upperMsg, OLEDDisplay *display, OLEDDispl

display->setFont(FONT_SMALL);
display->setTextAlignment(TEXT_ALIGN_LEFT);
const char *title = "UNLEASHED 0.0.5b";
const char *title = "UNLEASHED 0.0.5c";
display->drawString(x + getStringCenteredX(title), y + SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM, title);
display->setFont(FONT_SMALL);

Expand Down
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,9 @@ void UnleashedCommands() {
void loop()
{
#ifdef ARCH_ESP32
UnleashedCommands();
if (config.device.serial_enabled = false) {
UnleashedCommands();
}

// Umschalten des Zustands von ledOn bei jedem Durchlauf
ledOn = !ledOn;
Expand Down

0 comments on commit bf8f088

Please sign in to comment.