diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-03-25 06:34:38 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-03-25 06:34:38 +0000 |
commit | 74353374c38237d1c976dabf81703dd885d0d556 (patch) | |
tree | c96599e868d2fbe7215c86fe5a2dfe2d217846f7 /LUFA/Drivers/USB/Class/Common/MIDI.h | |
parent | b8db5fc1e7a49c0b91a67570e11edf90f985cd00 (diff) | |
download | lufa-74353374c38237d1c976dabf81703dd885d0d556.tar.gz lufa-74353374c38237d1c976dabf81703dd885d0d556.tar.bz2 lufa-74353374c38237d1c976dabf81703dd885d0d556.zip |
All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed.
Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Common/MIDI.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/MIDI.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/MIDI.h b/LUFA/Drivers/USB/Class/Common/MIDI.h index 8eed10198..755006a70 100644 --- a/LUFA/Drivers/USB/Class/Common/MIDI.h +++ b/LUFA/Drivers/USB/Class/Common/MIDI.h @@ -87,7 +87,7 @@ *
* \param[in] channel MIDI channel number to address
*/
- #define MIDI_CHANNEL(channel) (channel - 1)
+ #define MIDI_CHANNEL(channel) ((channel) - 1)
/* Type Defines: */
/** Type define for an Audio class specific MIDI streaming interface descriptor. This indicates to the host
|