summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-12-27 17:28:53 +0700
committerhathach <[email protected]>2013-01-10 16:46:52 +0700
commit1f3c9ed69dce91841a4b82541d334562fccbe82b (patch)
treebc1da43f67c6dacf08684b9e466ebb4195577a2d /tinyusb
parentbc735bbe2239cbe08973adf99124cf18d4ef24c8 (diff)
start add makefile for keyboard demo
Diffstat (limited to 'tinyusb')
-rw-r--r--tinyusb/common/errors.c1
-rw-r--r--tinyusb/common/errors.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tinyusb/common/errors.c b/tinyusb/common/errors.c
index 4c60e5e47..65e4c4e28 100644
--- a/tinyusb/common/errors.c
+++ b/tinyusb/common/errors.c
@@ -39,6 +39,7 @@
#if TUSB_CFG_DEBUG == 3
+// TODO X macro to remove define/undefine
char const* const TUSB_ErrorStr[] = {
# define ERROR_ENUM(x) #x,
# include "errors_def"
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index 53c9379c3..d5c372368 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -59,6 +59,7 @@
* \brief Error Code returned
*/
+// TODO X macro to remove define/undefine
typedef enum {
# define ERROR_ENUM(x) x,
# include "errors_def"