diff --git a/src/main.rs b/src/main.rs index 4407f0a..06d163a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,8 @@ fn main() { Ok(()) => (), Err(error) => { eprintln!("{error}"); - device.get_device_state_mut().connected = None; + //TODO: only set to none on headsets where connection can be detected + // device.get_device_state_mut().connected = None; tray_handler.update(device.get_device_state()); break; // try to reconnect }