From 5a84f8fa6664ea2048dfec8f2a65b2531cd45374 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Fri, 15 Mar 2024 10:31:12 +0100 Subject: [PATCH] Remove debug code --- host/src/adapter.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/host/src/adapter.rs b/host/src/adapter.rs index 876eb6ab..d4543aad 100644 --- a/host/src/adapter.rs +++ b/host/src/adapter.rs @@ -315,13 +315,11 @@ where } } } - Either4::Second((handle, mut pdu)) => { + Either4::Second((handle, pdu)) => { // info!("Outgoing packet"); let acl = AclPacket::new(handle, pdu.pb, AclBroadcastFlag::PointToPoint, pdu.as_ref()); match self.controller.write_acl_data(&acl).await { - Ok(_) => { - pdu.as_mut().iter_mut().for_each(|b| *b = 0xFF); - } + Ok(_) => {} Err(e) => { warn!("Error writing some ACL data to controller: {:?}", e); panic!(":(");