diff options
| author | hathach <[email protected]> | 2021-10-25 17:04:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-10-25 17:04:03 +0700 |
| commit | dbd31895bc234ff6d76d3fe736dc613890ab7acb (patch) | |
| tree | 9793b3b14156eccc9ed3bdd7963ac6630aa23061 /src/class | |
| parent | 85e18b9172b266f26ace35c825a9da0f3a32db0b (diff) | |
change usage of TU_CHECK_MCU() to prevent macro conflict
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/msc/msc_device.c | 2 |
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 |
