Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/display/core/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ void Controller::setupBluetooth() {
} else if (initialized) {
pluginManager->trigger("controller:bluetooth:disconnect");
waitingForController = true;
// Reset so onSystemInfo() re-runs the full startup sequence on the
// next connect: applies startup mode, fires controller:ready, etc.
// Without this the head unit stays in STANDBY permanently after the
// machine reboots because loaded stays true and setMode(startupMode)
// is never called again.
loaded = false;
setMode(MODE_STANDBY);
}
});
Expand Down