Skip to content

Commit 7a901cf

Browse files
committed
atmel-samd: Align SCSI responses.
1 parent b4fc464 commit 7a901cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/atmel-samd/usb_mass_storage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ static fs_user_mount_t* get_vfs(int lun) {
6363
/* Inquiry Information */
6464
// This is designed to handle the common case where we have an internal file
6565
// system and an optional SD card.
66-
static uint8_t inquiry_info[2][36];
66+
COMPILER_ALIGNED(4) static uint8_t inquiry_info[2][36];
6767

6868
/* Capacities of Disk */
69-
static uint8_t format_capa[2][8];
69+
COMPILER_ALIGNED(4) static uint8_t format_capa[2][8];
7070

7171
/**
7272
* \brief Eject Disk

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy