mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
services/usb-device-xous: align HIDReport to C repr
This commit is contained in:
parent
59837474cc
commit
8fa259e35a
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ pub struct HIDReportDescriptorMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)]
|
#[derive(Copy, Clone, Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)]
|
||||||
|
#[repr(C, align(8))]
|
||||||
pub struct HIDReport(pub [u8; 64]);
|
pub struct HIDReport(pub [u8; 64]);
|
||||||
|
|
||||||
impl Default for HIDReport {
|
impl Default for HIDReport {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue