summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-02 14:20:05 +0700
committerhathach <[email protected]>2013-10-02 14:20:05 +0700
commit6f9172c15f1c2447549f3004f849261aa580d4f9 (patch)
tree1565fa8c0f570ec02e541805aa5e0cf0fa8eaf7e /tinyusb/common/errors.h
parent1263dbb1221fc550737e560c415857829e8ecfd1 (diff)
clean up warnings here and there
Diffstat (limited to 'tinyusb/common/errors.h')
-rw-r--r--tinyusb/common/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index 8762bf06d..027f9bb2d 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -104,7 +104,7 @@ typedef enum {
#if TUSB_CFG_DEBUG == 3
/// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0
-extern char const* const TUSB_ErrorStr[];
+extern char const* const TUSB_ErrorStr[TUSB_ERROR_COUNT];
#endif
#ifdef __cplusplus