use unsigned char instead of char for error string
use #if 0 instead of // for remove code
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
#if TUSB_CFG_DEBUG == 3
|
||||
|
||||
char const* const TUSB_ErrorStr[] =
|
||||
unsigned char const* const TUSB_ErrorStr[] =
|
||||
{
|
||||
ERROR_TABLE(ERROR_STRING)
|
||||
0
|
||||
|
||||
@@ -76,7 +76,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 unsigned char const* const TUSB_ErrorStr[];
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user