fix misc build warnings. NFC

This commit is contained in:
Thomas Göttgens 2025-06-24 18:01:04 +02:00
parent 34f3800e2b
commit 485fc7639e
3 changed files with 10 additions and 1 deletions

View File

@ -35,7 +35,7 @@ std::string sanitizeString(const std::string &input)
inReplacement = false;
} else {
if (!inReplacement) {
output += '¿';
output += 0xbf; // ISO-8859-1 for inverted question mark
inReplacement = true;
}
}

View File

@ -266,6 +266,11 @@ int32_t ButtonThread::runOnce()
break;
}
// doesn't handle BUTTON_EVENT_PRESSED_SCREEN BUTTON_EVENT_TOUCH_LONG_PRESSED BUTTON_EVENT_COMBO_SHORT_LONG
default: {
break;
}
}
}
btnEvent = BUTTON_EVENT_NONE;

View File

@ -113,6 +113,10 @@ int SystemCommandsModule::handleInputEvent(const InputEvent *event)
shutdownAtMsec = millis() + DEFAULT_SHUTDOWN_SECONDS * 1000;
// runState = CANNED_MESSAGE_RUN_STATE_INACTIVE;
return true;
default:
// No other input events handled here
break;
}
return false;
}