summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-04-25 11:00:56 +0700
committerhathach <[email protected]>2013-04-25 11:00:56 +0700
commite9dbce5f1bfe193884293e7fb555f963c7f2e649 (patch)
treec4d49b49edafcdb42cb67c24ed7aa7c51d393f34 /tinyusb/common/errors.h
parentd4a2600ecc8cdeec26485f8ab564b12de41d6b9b (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/errors.h')
-rw-r--r--tinyusb/common/errors.h3
1 files changed, 1 insertions, 2 deletions
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