summaryrefslogtreecommitdiff
path: root/src/class/msc
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/class/msc
parent85e18b9172b266f26ace35c825a9da0f3a32db0b (diff)
change usage of TU_CHECK_MCU() to prevent macro conflict
Diffstat (limited to 'src/class/msc')
-rw-r--r--src/class/msc/msc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c
index 81522be46..dd490dd68 100644
--- a/src/class/msc/msc_device.c
+++ b/src/class/msc/msc_device.c
@@ -617,7 +617,7 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t
}
}
- #if TU_CHECK_MCU(CXD56)
+ #if TU_CHECK_MCU(OPT_MCU_CXD56)
// WORKAROUND: cxd56 has its own nuttx usb stack which does not forward Set/ClearFeature(Endpoint) to DCD.
// There is no way for us to know when EP is un-stall, therefore we will unconditionally un-stall here and
// hope everything will work