commit | dbf9a7e248accb68e7482486ae13de98805e1f73 | [log] [tgz] |
---|---|---|
author | David Duarte <licorne@google.com> | Tue Jun 04 00:42:16 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jun 04 00:42:16 2024 +0000 |
tree | 541638230be62a53d69d9f4ac62cdd475a10b173 | |
parent | a4cbd4bb67263ed6a01d93985337874b39d68c08 [diff] | |
parent | ab8f25dbcbd82574844672c3d9813d1660b35ee7 [diff] |
Merge "Update to pdl 0.3.0" into main am: cbe01d238c am: ab8f25dbcb Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3110377 Change-Id: I5dd994f170b598c480dc566439853b411b7e8a25 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/uwb/aidl/default/src/uwb_chip.rs b/uwb/aidl/default/src/uwb_chip.rs index 878aa64..956cf6c 100644 --- a/uwb/aidl/default/src/uwb_chip.rs +++ b/uwb/aidl/default/src/uwb_chip.rs
@@ -71,7 +71,7 @@ let packet_vec: Vec<UciControlPacketHal> = packet.into(); for hal_packet in packet_vec.into_iter() { serial - .write(&hal_packet.to_vec()) + .write(&hal_packet.encode_to_vec().unwrap()) .map(|written| written as i32) .map_err(|_| binder::StatusCode::UNKNOWN_ERROR)?; }