Merge branch 'lora-aprs:develop' into develop

This commit is contained in:
Willi 2021-09-06 00:04:20 +02:00 committed by GitHub
commit ad824f3e57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View file

@ -25,6 +25,9 @@ bool DisplayTask::setup(System &system) {
}
bool DisplayTask::loop(System &system) {
if (system.getUserConfig()->display.overwritePin != 0 && !digitalRead(system.getUserConfig()->display.overwritePin)) {
system.getDisplay().activateDistplay();
}
system.getDisplay().update();
return true;
}