Fix flacky BLE connection to swift pannels
This commit is contained in:
@@ -464,6 +464,11 @@ impl Actor {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Said out loud: a rider reporting that a pod "keeps dropping" needs
|
||||
// the log to show whether the radio link actually ended, and this is
|
||||
// the moment it did. The stream ending is BlueZ's only notice.
|
||||
tracing::warn!(address = %self.selector.describe(), "click: notification stream ended — link dropped");
|
||||
|
||||
// Release anything still held, so a paddle held through a dropout
|
||||
// cannot latch (see ButtonTracker::reset).
|
||||
self.release_held();
|
||||
|
||||
Reference in New Issue
Block a user