diff options
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/errors.c | 2 | ||||
| -rw-r--r-- | tinyusb/common/errors.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tinyusb/common/errors.c b/tinyusb/common/errors.c index 0b36a6c8b..53e10d763 100644 --- a/tinyusb/common/errors.c +++ b/tinyusb/common/errors.c @@ -39,7 +39,7 @@ #if TUSB_CFG_DEBUG == 3 -unsigned char const* const TUSB_ErrorStr[] = +uint8_t const* const TUSB_ErrorStr[] = { ERROR_TABLE(ERROR_STRING) 0 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 |
