Skip to content

Commit ba95a6a

Browse files
cmagliefacchinm
authored andcommitted
USBDevice: Added missing packed attribute
1 parent 1fdbc69 commit ba95a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/USB/USBAPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// USB
3737

3838
// Low level API
39-
typedef struct {
39+
typedef struct __attribute__((packed)) {
4040
union {
4141
uint8_t bmRequestType;
4242
struct {

0 commit comments

Comments
 (0)