Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Mar 15, 2024
1 parent c08f997 commit 5a84f8f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions host/src/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(":(");
Expand Down

0 comments on commit 5a84f8f

Please sign in to comment.