mirror of https://github.com/ARMmbed/mbed-os.git
Added __packed macro to be compatible with GCC compiler, in order to build USB libs with GCC_ARM
parent
7ee1e59662
commit
4440251d78
|
@ -22,6 +22,10 @@
|
||||||
#include "mbed.h"
|
#include "mbed.h"
|
||||||
#include "USBEndpoints.h"
|
#include "USBEndpoints.h"
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define __packed __attribute__ ((__packed__))
|
||||||
|
#endif
|
||||||
|
|
||||||
class USBHAL {
|
class USBHAL {
|
||||||
public:
|
public:
|
||||||
/* Configuration */
|
/* Configuration */
|
||||||
|
|
Loading…
Reference in New Issue