[Bug 2028] Milkymist USB: forward MIDI messages
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sat Feb 25 17:02:38 UTC 2012
https://www.rtems.org/bugzilla/show_bug.cgi?id=2028
Gedare <gedare at rtems.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gedare at rtems.org
--- Comment #1 from Gedare <gedare at rtems.org> 2012-02-25 11:02:38 CST ---
This looks fine to commit, it only touches the milkymist_usbinput.
I do have one comment/question to satisfy my curiosity:
+ for(i=0;i<3;i++)
+ msg[i] = COMLOC_MIDI(4*midi_consume+i+1);
why adding +1 in this one, when the other similar code in that file does not,
e.g.
for(i=0;i<4;i++)
msg[i] = COMLOC_MEVT(4*mouse_consume+i);
and
for(i=0;i<8;i++)
msg[i] = COMLOC_KEVT(8*keyboard_consume+i);
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list