diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-01 05:20:23 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-01 05:20:23 +0000 |
commit | f05224ec46826b99318aceb1cc28b539d7892a7a (patch) | |
tree | e5280f741c5f0a04ec1986c513e51a709ca5a851 /Demos | |
parent | 58e42c6ca92c4e6181967f83e40d9dea1ea48259 (diff) | |
download | lufa-f05224ec46826b99318aceb1cc28b539d7892a7a.tar.gz lufa-f05224ec46826b99318aceb1cc28b539d7892a7a.tar.bz2 lufa-f05224ec46826b99318aceb1cc28b539d7892a7a.zip |
Fix minor build errors.
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Device/DualCDC/DualCDC.c | 6 | ||||
-rw-r--r-- | Demos/Host/MassStorageHost/MassStorageHost.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/DualCDC/DualCDC.c b/Demos/Device/DualCDC/DualCDC.c index 5d2dd5f90..4185a76bd 100644 --- a/Demos/Device/DualCDC/DualCDC.c +++ b/Demos/Device/DualCDC/DualCDC.c @@ -207,7 +207,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket) Endpoint_ClearSETUP();
/* Write the line coding data to the control endpoint */
- Endpoint_Write_Control_Stream_LE(LineCodingData, sizeof(CDC_Line_Coding_t), Endpoint_MemSpaceCallback_RAM);
+ Endpoint_Write_Control_Stream_LE(LineCodingData, sizeof(CDC_Line_Coding_t));
/* Finalize the stream transfer to send the last packet or clear the host abort */
Endpoint_ClearOUT();
@@ -304,7 +304,7 @@ TASK(CDC1_Task) Endpoint_SelectEndpoint(CDC1_TX_EPNUM);
/* Write the String to the Endpoint */
- Endpoint_Write_Stream_LE(ReportString, strlen(ReportString), Endpoint_MemSpaceCallback_RAM);
+ Endpoint_Write_Stream_LE(ReportString, strlen(ReportString));
/* Finalize the stream transfer to send the last packet */
Endpoint_ClearIN();
@@ -351,7 +351,7 @@ TASK(CDC2_Task) Endpoint_SelectEndpoint(CDC2_TX_EPNUM);
/* Write the received data to the endpoint */
- Endpoint_Write_Stream_LE(&Buffer, DataLength, Endpoint_MemSpaceCallback_RAM);
+ Endpoint_Write_Stream_LE(&Buffer, DataLength);
/* Finalize the stream transfer to send the last packet */
Endpoint_ClearIN();
diff --git a/Demos/Host/MassStorageHost/MassStorageHost.c b/Demos/Host/MassStorageHost/MassStorageHost.c index 9056c0578..15006d336 100644 --- a/Demos/Host/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/MassStorageHost/MassStorageHost.c @@ -408,7 +408,7 @@ void UpdateStatus(uint8_t CurrentStatus) */
void ShowDiskReadError(char* CommandString, bool FailedAtSCSILayer, uint8_t ErrorCode)
{
- if (CommandFailed)
+ if (FailedAtSCSILayer)
{
/* Display the error code */
printf_P(PSTR(ESC_BG_RED "SCSI command error (%S).\r\n"), CommandString);
|