diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-30 04:40:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-30 04:40:36 +0000 |
commit | 89c837ee34db186f7b1f859f767d587036573c4c (patch) | |
tree | 0fd7efe823b1924c89628052398851e54b92fe06 /LUFA | |
parent | 059ebd01a3f34ce288adfe30c6cd5b88553882fa (diff) | |
download | lufa-89c837ee34db186f7b1f859f767d587036573c4c.tar.gz lufa-89c837ee34db186f7b1f859f767d587036573c4c.tar.bz2 lufa-89c837ee34db186f7b1f859f767d587036573c4c.zip |
Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library.
MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs.
Added beginnings of a MIDI class bootloader.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDC.c | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 2 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 4 | ||||
-rw-r--r-- | LUFA/ManPages/FutureChanges.txt | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.c b/LUFA/Drivers/USB/Class/Host/CDC.c index fde145ac6..adb9320a9 100644 --- a/LUFA/Drivers/USB/Class/Host/CDC.c +++ b/LUFA/Drivers/USB/Class/Host/CDC.c @@ -126,6 +126,8 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo }
}
+ CDCInterfaceInfo->State.ControlLineStates.HostToDevice = (CDC_CONTROL_LINE_OUT_RTS | CDC_CONTROL_LINE_OUT_DTR);
+ CDCInterfaceInfo->State.ControlLineStates.DeviceToHost = (CDC_CONTROL_LINE_IN_DCD | CDC_CONTROL_LINE_IN_DSR);
CDCInterfaceInfo->State.IsActive = true;
return CDC_ENUMERROR_NoError;
}
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 39e95cc24..f8dfe2fe7 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -124,7 +124,7 @@ */
#define PIPE_TOKEN_IN (1 << PTOKEN0)
- /** Token mask for \ref Pipe_ConfigurePipe(). This sets the pipe as a IN token (for non-CONTROL type pipes),
+ /** Token mask for \ref Pipe_ConfigurePipe(). This sets the pipe as a OUT token (for non-CONTROL type pipes),
* indicating that the pipe data will flow from host to device.
*/
#define PIPE_TOKEN_OUT (2 << PTOKEN0)
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 2cc7896a0..7206ab05b 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -9,9 +9,11 @@ * \section Sec_ChangeLogXXXXXX Version XXXXXX
*
* <b>New:</b>
- * - Removed useless "TestApp" demo, added new Dual Role Keyboard/Mouse demo
+ * - Added new Dual Role Keyboard/Mouse demo
*
* <b>Changed:</b>
+ * - Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library
+ * - MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs
*
* <b>Fixed:</b>
* - Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a
diff --git a/LUFA/ManPages/FutureChanges.txt b/LUFA/ManPages/FutureChanges.txt index 6024a3a30..f12460a63 100644 --- a/LUFA/ManPages/FutureChanges.txt +++ b/LUFA/ManPages/FutureChanges.txt @@ -24,8 +24,8 @@ * - Abstract out the physical media from the Mass Storage device demos
* - Make new demos
* -# Multiple-report HID device
- * -# Dual Role Mouse Host/Keyboard Device
- * -# Mouse/CDC Dual ClassDevice
+ * -# Mouse/CDC Dual Class Device
+ * -# MIDI Host class driver and demo
* - Port LUFA to other architectures
* -# AVR32 UC3B series microcontrollers
* -# Atmel ARM7 series microcontrollers
|