projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed incorrect endpoint bank setup on the UC3 architecture (thanks to Andrus Aaslaid).
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Common
/
MIDIClassCommon.h
diff --git
a/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h
b/LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h
index
f52013c
..
d3072c1
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h
+++ b/
LUFA/Drivers/USB/Class/Common/MIDIClassCommon.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
4
.
+ Copyright (C) Dean Camera, 201
8
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
4
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
8
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-135,7
+135,7
@@
*
* \return Constructed MIDI event ID.
*/
*
* \return Constructed MIDI event ID.
*/
- #define MIDI_EVENT(virtualcable, command) ((
virtualcable << 4) | (command
>> 4))
+ #define MIDI_EVENT(virtualcable, command) ((
(virtualcable) << 4) | ((command)
>> 4))
/* Enums: */
/** Enum for the possible MIDI jack types in a MIDI device jack descriptor. */
/* Enums: */
/** Enum for the possible MIDI jack types in a MIDI device jack descriptor. */