Skip to content

Commit

Permalink
Merge branch 'issue267' of http://antigua.lan:3000/CEA/btleplug into …
Browse files Browse the repository at this point in the history
…issue267
  • Loading branch information
Jean-Christophe AUDE committed Dec 19, 2023
2 parents 9f552de + 8ed80e6 commit dbe9393
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/winrtble/peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ impl Peripheral {

let mut local_name_guard = self.shared.local_name.write().unwrap();
*local_name_guard = Some(name.to_string());
drop(local_name_guard);
}
}
if let Ok(manufacturer_data) = advertisement.ManufacturerData() {
Expand All @@ -165,7 +164,6 @@ impl Peripheral {
id: self.shared.address.into(),
manufacturer_data: manufacturer_data_guard.clone(),
});
drop(manufacturer_data_guard);
}
}

Expand Down Expand Up @@ -221,7 +219,6 @@ impl Peripheral {
id: self.shared.address.into(),
service_data: service_data_guard.clone(),
});
drop(service_data_guard);
}
}

Expand Down Expand Up @@ -258,7 +255,6 @@ impl Peripheral {
id: self.shared.address.into(),
services: services_guard.iter().copied().collect(),
});
drop(services_guard);
}
}

Expand All @@ -269,7 +265,6 @@ impl Peripheral {
BluetoothAddressType::Random => Some(AddressType::Random),
_ => None,
};
drop(address_type_guard);
}

if let Ok(tx_reference) = args.TransmitPowerLevelInDBm() {
Expand Down

0 comments on commit dbe9393

Please sign in to comment.