summaryrefslogtreecommitdiff
path: root/tinyusb/tusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/tusb.c')
-rw-r--r--tinyusb/tusb.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tinyusb/tusb.c b/tinyusb/tusb.c
index cb944a761..309fcc249 100644
--- a/tinyusb/tusb.c
+++ b/tinyusb/tusb.c
@@ -68,3 +68,16 @@ void tusb_task(void)
#endif
}
#endif
+
+
+/*------------------------------------------------------------------*/
+/* Debug
+ *------------------------------------------------------------------*/
+#if TUSB_CFG_DEBUG
+
+char const* const tusb_strerr[TUSB_ERROR_COUNT] =
+{
+ ERROR_TABLE(ERROR_STRING)
+};
+
+#endif