usbd: supress "statement is unreachable" warning on ARMCC

This commit is contained in:
Yunhao Tian 2021-11-30 17:10:53 +08:00
parent 9775e76910
commit dba59217da
1 changed files with 5 additions and 0 deletions

View File

@ -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
//--------------------------------------------------------------------+