summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/common/errors.h')
-rw-r--r--tinyusb/common/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index 3b37154d3..e55ab3f4e 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -49,6 +49,7 @@
#ifndef _TUSB_ERRORS_H_
#define _TUSB_ERRORS_H_
+#include <stdint.h>
#include "../tusb_option.h"
#ifdef __cplusplus
@@ -77,7 +78,7 @@ typedef enum {
#if TUSB_CFG_DEBUG == 3
/// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0
-extern unsigned char const* const TUSB_ErrorStr[];
+extern uint8_t const* const TUSB_ErrorStr[];
#endif
#ifdef __cplusplus