change MCU to TUSB_CFG_MCU

This commit is contained in:
hathach
2013-11-25 12:48:27 +07:00
parent 41ffcaf4a5
commit a5ba283557
27 changed files with 84 additions and 115 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
#include "usbd_dcd.h"
// Some MCUs cannot transfer more than 64 bytes each queue, thus require special task-alike treatment
#if MCU == MCU_LPC11UXX || MCU == MCU_LPC175X_6X
#if TUSB_CFG_MCU == MCU_LPC11UXX || TUSB_CFG_MCU == MCU_LPC175X_6X
#define USBD_CONTROL_ONE_PACKET_EACH_XFER // for each Transfer, cannot queue more than packet size
enum {
USBD_COTNROL_MAX_LENGTH_EACH_XFER = 64