Loading system/rust/src/connection/ffi.rs +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use tokio::{ task::spawn_local, }; use crate::{core::address::AddressWithType, do_in_rust_thread}; use crate::do_in_rust_thread; use super::{ attempt_manager::ConnectionMode, Loading system/rust/src/gatt/callbacks.rs +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ impl<T: GattDatastore + ?Sized> RawGattDatastore for T { /// Execute or cancel any prepared writes async fn execute(&self, _: TransportIndex, _: TransactionDecision) -> Result<(), AttErrorCode> { // we never do prepared writes, so who cares return Ok(()); Ok(()) } } Loading system/rust/src/gatt/server/gatt_database.rs +1 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,7 @@ impl GattDatabase { } // if we made it here, we successfully loaded the new service static_data.attributes.extend(attributes.clone().into_iter()); static_data.attributes.extend(attributes.clone()); // re-entrancy via the listeners is possible, so we prevent it by dropping here drop(static_data); Loading Loading
system/rust/src/connection/ffi.rs +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use tokio::{ task::spawn_local, }; use crate::{core::address::AddressWithType, do_in_rust_thread}; use crate::do_in_rust_thread; use super::{ attempt_manager::ConnectionMode, Loading
system/rust/src/gatt/callbacks.rs +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ impl<T: GattDatastore + ?Sized> RawGattDatastore for T { /// Execute or cancel any prepared writes async fn execute(&self, _: TransportIndex, _: TransactionDecision) -> Result<(), AttErrorCode> { // we never do prepared writes, so who cares return Ok(()); Ok(()) } } Loading
system/rust/src/gatt/server/gatt_database.rs +1 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,7 @@ impl GattDatabase { } // if we made it here, we successfully loaded the new service static_data.attributes.extend(attributes.clone().into_iter()); static_data.attributes.extend(attributes.clone()); // re-entrancy via the listeners is possible, so we prevent it by dropping here drop(static_data); Loading