summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-25 17:04:03 +0700
committerhathach <[email protected]>2021-10-25 17:04:03 +0700
commitdbd31895bc234ff6d76d3fe736dc613890ab7acb (patch)
tree9793b3b14156eccc9ed3bdd7963ac6630aa23061 /src/tusb_option.h
parent85e18b9172b266f26ace35c825a9da0f3a32db0b (diff)
change usage of TU_CHECK_MCU() to prevent macro conflict
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index d707c44c7..509ff4a3c 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -130,7 +130,7 @@
// Helper to check if configured MCU is one of listed
// Apply _TU_CHECK_MCU with || as separator to list of input
-#define _TU_CHECK_MCU(_m) (CFG_TUSB_MCU == OPT_MCU_##_m)
+#define _TU_CHECK_MCU(_m) (CFG_TUSB_MCU == _m)
#define TU_CHECK_MCU(...) (TU_ARGS_APPLY(_TU_CHECK_MCU, ||, __VA_ARGS__))
//--------------------------------------------------------------------+