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.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tinyusb/common/errors.c') 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 -- cgit v1.3.1