summaryrefslogtreecommitdiff
path: root/tinyusb/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-12-04 11:30:34 +0700
committerhathach <[email protected]>2012-12-04 11:30:34 +0700
commit8f00307986b71fdc48210e0ee4821a95392be4c3 (patch)
treea325f10d67785e897ffd4bdcf514cf15c927acfb /tinyusb/common
parent921561be607a9ec3edd059de8e5d7b7f75dd2f76 (diff)
fixed building errors with device example
Diffstat (limited to 'tinyusb/common')
-rw-r--r--tinyusb/common/common.h1
-rw-r--r--tinyusb/common/compiler/compiler.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h
index dbe99b2dd..97bc32ae3 100644
--- a/tinyusb/common/common.h
+++ b/tinyusb/common/common.h
@@ -67,6 +67,7 @@
#include "compiler/compiler.h"
#include "errors.h"
#include "core/tusb_types.h"
+#include "core/std_descriptors.h"
/// min value
#ifndef MIN
diff --git a/tinyusb/common/compiler/compiler.h b/tinyusb/common/compiler/compiler.h
index 5a29a2138..b09900a2a 100644
--- a/tinyusb/common/compiler/compiler.h
+++ b/tinyusb/common/compiler/compiler.h
@@ -53,7 +53,7 @@
#if defined(__GNUC__)
#include "compiler_gcc.h"
-#elif deinfed __ICCARM__ // IAR compiler
+#elif defined __ICCARM__ // IAR compiler
#include "compiler_iar.h"
#endif