diff options
| author | hathach <[email protected]> | 2018-11-14 15:36:12 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-14 15:36:12 +0700 |
| commit | 983225ae606653202c4f1bba8e34a4a9825daa2a (patch) | |
| tree | 0e8b3168c5104bc2f6338ad5fb14ead28dc58197 /src/common | |
| parent | 039550d7feac21333c99ae3730c5def29ddc7be0 (diff) | |
| parent | 299a2f12de2ddb76b9a488b23e7e562058faee90 (diff) | |
Merge pull request #7 from tannewt/tinyusb_samd
Add SAMD support and simplify OS_NONE
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 8ce334e55..5c226f556 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -51,6 +51,10 @@ extern "C" {
#endif
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpacked"
+#pragma GCC diagnostic ignored "-Wattributes"
+
/*------------------------------------------------------------------*/
/* CONSTANTS
*------------------------------------------------------------------*/
@@ -422,6 +426,8 @@ static inline uint8_t descriptor_len(uint8_t const p_desc[]) // Convert comma-separated string to descriptor unicode format
#define TUD_DESC_STRCONV( ... ) (const uint16_t[]) { TUD_DESC_STR_HEADER(VA_ARGS_NUM_(__VA_ARGS__)), __VA_ARGS__ }
+#pragma GCC diagnostic pop
+
#ifdef __cplusplus
}
#endif
|
