summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-12-29 18:27:29 +0700
committerhathach <[email protected]>2021-12-29 18:27:29 +0700
commit30aba24ddc0d25dfa796de3a5d3857a13d440f5e (patch)
tree8cbb988ba6ca126b330cf1fb59a903dbcbee5c90 /src/device/usbd.c
parenta6789b5d5a3c9e41771e5eb8fdb08182c95fbe08 (diff)
parent527036b1f5a3f0aa3994f62e3ab18fa990a40cf8 (diff)
Merge branch 'master' of https://github.com/t123yh/tinyusb into t123yh-master
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c5
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
//--------------------------------------------------------------------+