diff options
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/errors.c | 3 | ||||
| -rw-r--r-- | tinyusb/common/errors.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tinyusb/common/errors.c b/tinyusb/common/errors.c index 2de115697..6c53bd007 100644 --- a/tinyusb/common/errors.c +++ b/tinyusb/common/errors.c @@ -35,12 +35,11 @@ * This file is part of the tinyUSB stack. */ -#include "primitive_types.h" #include "errors.h" #if TUSB_CFG_DEBUG == 3 -uint8_t const* const TUSB_ErrorStr[] = +char const* const TUSB_ErrorStr[] = { ERROR_TABLE(ERROR_STRING) 0 diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index 0392865e1..cf10a63fa 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -49,7 +49,6 @@ #ifndef _TUSB_ERRORS_H_ #define _TUSB_ERRORS_H_ -#include "primitive_types.h" #include "tusb_option.h" #ifdef __cplusplus @@ -87,7 +86,7 @@ typedef enum { #if TUSB_CFG_DEBUG == 3 /// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0 -extern uint8_t const* const TUSB_ErrorStr[]; +extern char const* const TUSB_ErrorStr[]; #endif #ifdef __cplusplus |
