OSDN Git Service

Rust HAL: Store header size as constant rather than enum
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 23 Feb 2021 10:35:53 +0000 (11:35 +0100)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 23 Feb 2021 13:25:55 +0000 (14:25 +0100)
commit2d17b600f24da02eddd97f74725f0f32b11db836
treee3e49a2e58b584b664f8cec9eb33ac45abc71cfb
parentff63225f82388ef20ec9be4bc9796e363a08da32
Rust HAL: Store header size as constant rather than enum

Enums are not appropriate here, headers size can be equal, i.e. for ACL
and upcoming ISO packets.

Bug: 177907117
Tag: #feature
Test: compilation
Change-Id: Idce102cd4f42fb37c723129e80671cedb5c6858a
gd/rust/hal/src/rootcanal_hal.rs