So I was just wondering about the function:
Code:
Endpoint_Write_Stream_LE
In your code you have it as
Code:
Endpoint_Write_Stream_LE(&midi_event, sizeof(midi_event));
but when I was writing mine, I found that the function had to have a callback. Is this just because of different versions of LUFA, or am I missing something?
(Once I added a callback, just NULL, it worked fine, I was just wondering)
Im still terribly terrible at programming, but Im getting more familiar with LUFA, and going back and forth between the demos and midifighter source has been helping a lot, thanks again for commenting it so well
Thanks,
Ben
EDIT: Callback as the last argument, so its:
Code:
Endpoint_Write_Stream_LE(Buffer, Length, Callback);
Bookmarks