Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bfbb3c4 authored by Yuyang Huang's avatar Yuyang Huang Committed by Automerger Merge Worker
Browse files

Merge "Fix ASHA to LE audio" am: 3822ed7f

parents fed523a2 3822ed7f
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -322,16 +322,18 @@ class HearingAidImpl : public HearingAid {
  void IsoTrafficEventCb(bool is_active) {
    if (is_active) {
      is_iso_running = true;
      needs_parameter_update = true;
    } else {
      is_iso_running = false;
    }
    LOG_INFO("is_iso_running: %d, needs_parameter_update: %d", is_iso_running,
             needs_parameter_update);
    if (needs_parameter_update) {
      for (auto& device : hearingDevices.devices) {
        if (device.conn_id != 0) {
          device.connection_update_status = STARTED;
          device.requested_connection_interval =
              UpdateBleConnParams(device.address);
            return;
          }
        }
      }
    }