diff options
| author | Scott Shawcroft <[email protected]> | 2018-11-09 00:10:44 -0800 |
|---|---|---|
| committer | Scott Shawcroft <[email protected]> | 2018-11-09 00:10:44 -0800 |
| commit | 537a29273c08b1e047004e1bd71c37af82937dd4 (patch) | |
| tree | 4d64580d011bf6042223270fbd98b316e95a5aff /src/class/hid | |
| parent | 30e3c64134789416e10ed867fa12c210b808e98f (diff) | |
Exempt from strict warnings for struct packing and add MCU options
Diffstat (limited to 'src/class/hid')
| -rw-r--r-- | src/class/hid/hid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h index d2803177b..0008e47fb 100644 --- a/src/class/hid/hid.h +++ b/src/class/hid/hid.h @@ -49,6 +49,10 @@ extern "C" {
#endif
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpacked"
+#pragma GCC diagnostic ignored "-Wattributes"
+
//--------------------------------------------------------------------+
// Common Definitions
//--------------------------------------------------------------------+
@@ -609,6 +613,7 @@ enum HID_USAGE_CONSUMER_AC_PAN = 0x0238,
};
+#pragma GCC diagnostic pop
#ifdef __cplusplus
}
|
