mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
Merge "Update to pdl 0.3.0" into main
This commit is contained in:
@@ -71,7 +71,7 @@ impl State {
|
||||
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)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user