From a22cfb2dee31e437ca43351e705b60e143f169d6 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 27 Jan 2013 12:38:06 +0700 Subject: remove violation MISRA 6.3 on errors --- tinyusb/common/errors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tinyusb/common/errors.h') 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 #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 -- cgit v1.3.1