diff options
| author | hathach <[email protected]> | 2018-03-28 14:16:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-28 14:23:38 +0700 |
| commit | 43ac71179564fc021c2b77408b7f6ba594626007 (patch) | |
| tree | 562ea32e78e5af065a823786f57d6326c2c9b97a /tinyusb/device | |
| parent | 9cacb93bd829bfd3bca0cf7668e0c63053261fe7 (diff) | |
rename STATIC_ASSERT to VERIFY_STATIC to avoid name conflict with other codes
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index fc9bb87e8..1d9b8e8b5 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -178,7 +178,7 @@ typedef struct ATTR_ALIGNED(4) };
} usbd_task_event_t;
-STATIC_ASSERT(sizeof(usbd_task_event_t) <= 12, "size is not correct");
+VERIFY_STATIC(sizeof(usbd_task_event_t) <= 12, "size is not correct");
#ifndef TUC_DEVICE_STACKSIZE
#define TUC_DEVICE_STACKSIZE 150
|
