diff options
| author | hathach <[email protected]> | 2013-04-25 11:00:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-25 11:00:56 +0700 |
| commit | e9dbce5f1bfe193884293e7fb555f963c7f2e649 (patch) | |
| tree | c4d49b49edafcdb42cb67c24ed7aa7c51d393f34 /tinyusb/common | |
| parent | d4a2600ecc8cdeec26485f8ab564b12de41d6b9b (diff) | |
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
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 |
