From 29c7846612f90acb7ced1f6a1d49d9062609ec2b Mon Sep 17 00:00:00 2001 From: Allen Ibara Date: Fri, 10 Jan 2014 10:26:45 -0800 Subject: [PATCH] LPC43XX: Make sure to align target struct to word alignment --- src/lpc43xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpc43xx.c b/src/lpc43xx.c index 0a8745d3..1a437e39 100644 --- a/src/lpc43xx.c +++ b/src/lpc43xx.c @@ -106,7 +106,7 @@ struct flash_param { } make_active; } params; uint32_t result[5]; /* result data */ -}; +} __attribute__((aligned(4))); struct flash_program { struct flash_param p;