diff options
| author | hathach <[email protected]> | 2012-12-20 16:56:19 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-12-20 16:56:19 +0700 |
| commit | 00b3f485194a491b9da7420f3358c4117292319e (patch) | |
| tree | 1820c1455e10335e25bd5ce866e2a77fc7bea733 /tinyusb/common/errors.c | |
| parent | ec4a3f60488fbd9eaf51c12b1cce79f0a7d3064f (diff) | |
rename a bunch of configure macros
Diffstat (limited to 'tinyusb/common/errors.c')
| -rw-r--r-- | tinyusb/common/errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
