aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-11-08 10:47:22 -0800
committerDan Halbert <halbert@halwitz.org>2017-11-08 22:00:17 -0500
commit0e6928b087805f95520de34647d2836278fcdbf9 (patch)
tree81c9e29c81f796d147a325f12d318e2a223cd364 /ports
parentbfe7e055e9b1dac0411fe975fdf2412029f03b33 (diff)
atmel-samd: Align SCSI responses.3.0.0-alpha2
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/usb_mass_storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/usb_mass_storage.c b/ports/atmel-samd/usb_mass_storage.c
index 8001cc097..3429fc2bc 100644
--- a/ports/atmel-samd/usb_mass_storage.c
+++ b/ports/atmel-samd/usb_mass_storage.c
@@ -63,10 +63,10 @@ static fs_user_mount_t* get_vfs(int lun) {
/* Inquiry Information */
// This is designed to handle the common case where we have an internal file
// system and an optional SD card.
-static uint8_t inquiry_info[2][36];
+COMPILER_ALIGNED(4) static uint8_t inquiry_info[2][36];
/* Capacities of Disk */
-static uint8_t format_capa[2][8];
+COMPILER_ALIGNED(4) static uint8_t format_capa[2][8];
/**
* \brief Eject Disk