summaryrefslogtreecommitdiff
path: root/tinyusb/common/tusb_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/common/tusb_error.h')
-rw-r--r--tinyusb/common/tusb_error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/common/tusb_error.h b/tinyusb/common/tusb_error.h
index 96684ef5f..339f6ced1 100644
--- a/tinyusb/common/tusb_error.h
+++ b/tinyusb/common/tusb_error.h
@@ -100,8 +100,8 @@ typedef enum
TUSB_ERROR_COUNT
}tusb_error_t;
-#if TUSB_CFG_DEBUG
-/// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0
+#if CFG_TUSB_DEBUG
+/// Enum to String for debugging purposes. Only available if \ref CFG_TUSB_DEBUG > 0
extern char const* const tusb_strerr[TUSB_ERROR_COUNT];
#endif