summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-11-08 10:47:22 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-11-08 10:47:22 -0800
commit7a901cfccdcf18fa6f40c4791311b19bdf37a527 (patch)
treedbd392093cd6bc3eb9311863e60ec419ba8d1eeb
parentb4fc464a4dd260bae9c2a49f996ffeb96268228d (diff)
atmel-samd: Align SCSI responses.
-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 d9d9d9f39..3e5b13d32 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