Added __packed macro to be compatible with GCC compiler, in order to build USB libs with GCC_ARM

pull/1/head
pbrier 2013-04-06 15:50:57 +02:00
parent 7ee1e59662
commit 4440251d78
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#include "mbed.h"
#include "USBEndpoints.h"
#ifdef __GNUC__
#define __packed __attribute__ ((__packed__))
#endif
class USBHAL {
public:
/* Configuration */