diff options
| author | hathach <[email protected]> | 2018-08-13 18:10:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-08-13 18:10:23 +0700 |
| commit | e07b1acbed02fff395c91b421b7fdf6c7cda61a4 (patch) | |
| tree | 8773b56b7236567fd9ec6dafc99c5de58127ecc9 /src/class/cdc/cdc.h | |
| parent | b07124c623107da46b1125b28092828f487e8c45 (diff) | |
rename VERIFY to TU_VERIFY to avoid conflict with application
Diffstat (limited to 'src/class/cdc/cdc.h')
| -rw-r--r-- | src/class/cdc/cdc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/cdc/cdc.h b/src/class/cdc/cdc.h index b0c4f90d4..1b127ad28 100644 --- a/src/class/cdc/cdc.h +++ b/src/class/cdc/cdc.h @@ -300,7 +300,7 @@ typedef struct ATTR_PACKED uint8_t : 0;
}cdc_acm_capability_t;
-VERIFY_STATIC(sizeof(cdc_acm_capability_t) == 1, "mostly problem with compiler");
+TU_VERIFY_STATIC(sizeof(cdc_acm_capability_t) == 1, "mostly problem with compiler");
/// \brief Abstract Control Management Functional Descriptor
/// \details This functional descriptor describes the commands supported by by the Communications Class interface with SubClass code of \ref CDC_COMM_SUBCLASS_ABSTRACT_CONTROL_MODEL
@@ -390,7 +390,7 @@ typedef struct ATTR_PACKED uint8_t data_bits; ///< can be 5, 6, 7, 8 or 16
} cdc_line_coding_t;
-VERIFY_STATIC(sizeof(cdc_line_coding_t) == 7, "size is not correct");
+TU_VERIFY_STATIC(sizeof(cdc_line_coding_t) == 7, "size is not correct");
typedef struct ATTR_PACKED
{
@@ -399,7 +399,7 @@ typedef struct ATTR_PACKED uint16_t : 14;
} cdc_line_control_state_t;
-VERIFY_STATIC(sizeof(cdc_line_control_state_t) == 2, "size is not correct");
+TU_VERIFY_STATIC(sizeof(cdc_line_control_state_t) == 2, "size is not correct");
/** @} */
|
