From b942cdcbc8ff2590aa52a6d59bb168137e92c533 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 9 Jun 2020 23:35:57 +0200 Subject: [PATCH] sdio: change Adma2Desc32 alignment from 1 to 4 this should not break anything. --- libboard_zynq/src/sdio/adma.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/sdio/adma.rs b/libboard_zynq/src/sdio/adma.rs index bcdc424..18262d7 100644 --- a/libboard_zynq/src/sdio/adma.rs +++ b/libboard_zynq/src/sdio/adma.rs @@ -3,7 +3,7 @@ use super::SDIO; use libcortex_a9::cache; use libregister::RegisterR; -#[repr(C, packed)] +#[repr(C, align(4))] #[derive(Clone, Copy)] pub struct Adma2Desc32 { attribute: u16,