aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/PluggableUSB.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-07-02 12:08:53 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:13:52 +0200
commitb0bdb476942ea105463fd8fdbc076d2b104a7176 (patch)
tree546e8c6f2cdfee4554660551dd97ecce7993c839 /cores/arduino/PluggableUSB.h
parent862febf3e28b313b9571605e0ed29cf4e79514af (diff)
fix pluggableUSB linked list
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
-rw-r--r--cores/arduino/PluggableUSB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h
index 647980b..d89040e 100644
--- a/cores/arduino/PluggableUSB.h
+++ b/cores/arduino/PluggableUSB.h
@@ -25,7 +25,7 @@
#if defined(USBCON)
-typedef struct
+typedef struct __attribute__((packed))
{
bool (*setup)(USBSetup& setup, u8 i);
int (*getInterface)(u8* interfaceNum);