summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-23 15:25:25 +0700
committerhathach <[email protected]>2018-11-23 15:25:25 +0700
commit394a22ecf7760cce630a8186260f1c79901af934 (patch)
treec8246e10d303414f222a5ba15480c04010240c8e /src/class/cdc
parentf196b24dce1531eae8e049bbe35df79996fe4155 (diff)
remove pragma GCC diagnostic
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/class/cdc/cdc.h b/src/class/cdc/cdc.h
index afac8379d..d07c62429 100644
--- a/src/class/cdc/cdc.h
+++ b/src/class/cdc/cdc.h
@@ -50,10 +50,6 @@
extern "C" {
#endif
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpacked"
-#pragma GCC diagnostic ignored "-Wattributes"
-
/** \defgroup ClassDriver_CDC_Common Common Definitions
* @{ */
@@ -406,8 +402,6 @@ typedef struct ATTR_PACKED
TU_VERIFY_STATIC(sizeof(cdc_line_control_state_t) == 2, "size is not correct");
-#pragma GCC diagnostic pop
-
/** @} */
#ifdef __cplusplus