From e9dbce5f1bfe193884293e7fb555f963c7f2e649 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 25 Apr 2013 11:00:56 +0700 Subject: add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOS using plain char for error enum character increase freeRTOS configMAX_PRIORITIES to 16 house keeping & clean up compiler warning --- tinyusb/common/errors.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tinyusb/common/errors.h') 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 -- cgit v1.3.1