Update to pdl 0.3.0
Test: m Change-Id: I78df5c5ee828d418023128ef57428aa6be67ec3a
This commit is contained in:
parent
56e050362d
commit
f8a70bbcbc
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ impl State {
|
||||||
let packet_vec: Vec<UciControlPacketHal> = packet.into();
|
let packet_vec: Vec<UciControlPacketHal> = packet.into();
|
||||||
for hal_packet in packet_vec.into_iter() {
|
for hal_packet in packet_vec.into_iter() {
|
||||||
serial
|
serial
|
||||||
.write(&hal_packet.to_vec())
|
.write(&hal_packet.encode_to_vec().unwrap())
|
||||||
.map(|written| written as i32)
|
.map(|written| written as i32)
|
||||||
.map_err(|_| binder::StatusCode::UNKNOWN_ERROR)?;
|
.map_err(|_| binder::StatusCode::UNKNOWN_ERROR)?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue