Update USBDevice.cpp

Added Teensy3.1 support
pull/957/head
Paul Staron 2015-03-07 18:28:13 +00:00
parent ea867c7cf7
commit fda34ea4c2
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ bool USBDevice::controlOut(void)
/* Check we should be transferring data OUT */ /* Check we should be transferring data OUT */
if (transfer.direction != HOST_TO_DEVICE) if (transfer.direction != HOST_TO_DEVICE)
{ {
#if defined(TARGET_KL25Z) | defined(TARGET_KL43Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D5M) | defined(TARGET_K64F) | defined(TARGET_K22F) #if defined(TARGET_KL25Z) | defined(TARGET_KL43Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D5M) | defined(TARGET_K64F) | defined(TARGET_K22F) | defined(TARGET_TEENSY3_1)
/* /*
* We seem to have a pending device-to-host transfer. The host must have * We seem to have a pending device-to-host transfer. The host must have
* sent a new control request without waiting for us to finish processing * sent a new control request without waiting for us to finish processing