diff options
| author | Yunhao Tian <[email protected]> | 2021-11-30 17:10:53 +0800 |
|---|---|---|
| committer | Yunhao Tian <[email protected]> | 2021-11-30 17:19:10 +0800 |
| commit | dba59217da489dc497cbe2b573e7e144d085c869 (patch) | |
| tree | c1ae5c03957823c607f8b904615760275a2a44c8 /src/device | |
| parent | 9775e76910d569ec73b8dd946f3fa5fe5414acdb (diff) | |
usbd: supress "statement is unreachable" warning on ARMCC
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 6a5210b34..0e31f47c7 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -44,6 +44,11 @@ #define CFG_TUD_TASK_QUEUE_SZ 16 #endif +#ifdef __ARMCC_VERSION +// Supress "statement is unreachable" warning +#pragma diag_suppress 111 +#endif + //--------------------------------------------------------------------+ // Device Data //--------------------------------------------------------------------+ |
