summaryrefslogtreecommitdiff
path: root/tinyusb/class/cdc/cdc_rndis.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-28 14:16:14 +0700
committerhathach <[email protected]>2018-03-28 14:23:38 +0700
commit43ac71179564fc021c2b77408b7f6ba594626007 (patch)
tree562ea32e78e5af065a823786f57d6326c2c9b97a /tinyusb/class/cdc/cdc_rndis.h
parent9cacb93bd829bfd3bca0cf7668e0c63053261fe7 (diff)
rename STATIC_ASSERT to VERIFY_STATIC to avoid name conflict with other codes
Diffstat (limited to 'tinyusb/class/cdc/cdc_rndis.h')
-rw-r--r--tinyusb/class/cdc/cdc_rndis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/cdc/cdc_rndis.h b/tinyusb/class/cdc/cdc_rndis.h
index 8076a5bb5..460477eb0 100644
--- a/tinyusb/class/cdc/cdc_rndis.h
+++ b/tinyusb/class/cdc/cdc_rndis.h
@@ -142,7 +142,7 @@ typedef struct {
uint8_t oid_buffer[] ; ///< Flexible array contains the input data supplied by the host, required for the OID query request processing by the device, as per the host NDIS specification.
} rndis_msg_query_t, rndis_msg_set_t;
-STATIC_ASSERT(sizeof(rndis_msg_query_t) == 28, "Make sure flexible array member does not affect layout");
+VERIFY_STATIC(sizeof(rndis_msg_query_t) == 28, "Make sure flexible array member does not affect layout");
/// \brief Query Complete Message
/// \details This message MUST be sent by the device in response to a query OID message.
@@ -156,7 +156,7 @@ typedef struct {
uint8_t oid_buffer[] ; ///< Flexible array member contains the response data to the OID query request as specified by the host.
} rndis_msg_query_cmplt_t;
-STATIC_ASSERT(sizeof(rndis_msg_query_cmplt_t) == 24, "Make sure flexible array member does not affect layout");
+VERIFY_STATIC(sizeof(rndis_msg_query_cmplt_t) == 24, "Make sure flexible array member does not affect layout");
//------------- Reset -------------//
/// \brief Reset Message