From 00b3f485194a491b9da7420f3358c4117292319e Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 20 Dec 2012 16:56:19 +0700 Subject: rename a bunch of configure macros --- tinyusb/common/errors.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tinyusb/common/errors.c') diff --git a/tinyusb/common/errors.c b/tinyusb/common/errors.c index db93d5d84..4c60e5e47 100644 --- a/tinyusb/common/errors.c +++ b/tinyusb/common/errors.c @@ -35,9 +35,15 @@ * This file is part of the tinyUSB stack. */ +#include "errors.h" + +#if TUSB_CFG_DEBUG == 3 + char const* const TUSB_ErrorStr[] = { # define ERROR_ENUM(x) #x, # include "errors_def" # undef ERROR_ENUM 0 }; + +#endif -- cgit v1.3.1