10000 atmel-samd: Align SCSI responses. · boneskull/circuitpython@0e6928b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e6928b

Browse files
tannewtdhalbert
authored andcommitted
atmel-samd: Align SCSI responses.
1 parent bfe7e05 commit 0e6928b

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)
0