Missing #ifdef
This commit is contained in:
@@ -206,11 +206,14 @@ static uint16_t VCP_DataRx (uint8_t* Buf, uint32_t Len)
|
|||||||
// available characters, return VCP_FAIL. Maybe that will throttle down
|
// available characters, return VCP_FAIL. Maybe that will throttle down
|
||||||
// the sender and we will receive the same packet at a later time.
|
// the sender and we will receive the same packet at a later time.
|
||||||
|
|
||||||
|
#if defined(CLI)
|
||||||
//copy data to the application FIFO
|
//copy data to the application FIFO
|
||||||
for (uint32_t i = 0; i < Len; i++)
|
for (uint32_t i = 0; i < Len; i++)
|
||||||
{
|
{
|
||||||
cliRxFifo.push(Buf[i]);
|
cliRxFifo.push(Buf[i]);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return USBD_OK;
|
return USBD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user