aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MIDIHost
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-16 11:47:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-16 11:47:11 +0000
commit39d56aeffecdd50d1e413c8da6edbe8485d5ac29 (patch)
tree5092eb389b122c8aac74c878a7c7397a086c9c67 /Demos/Host/LowLevel/MIDIHost
parentb2bdfe437762a9a88b4de1cada7f794b255b0d97 (diff)
downloadlufa-39d56aeffecdd50d1e413c8da6edbe8485d5ac29.tar.gz
lufa-39d56aeffecdd50d1e413c8da6edbe8485d5ac29.tar.bz2
lufa-39d56aeffecdd50d1e413c8da6edbe8485d5ac29.zip
Fixed PDI programming mode in the AVRISP programmer project not exiting programming mode correctly (clear target Reset key twice, set /RESET pin to pullup).
Add newlines to the MIDI event printf() statements in the MIDI host demos.
Diffstat (limited to 'Demos/Host/LowLevel/MIDIHost')
-rw-r--r--Demos/Host/LowLevel/MIDIHost/MIDIHost.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/MIDIHost/MIDIHost.c b/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
index 1ca7bd983..6964f71ea 100644
--- a/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
+++ b/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
@@ -186,9 +186,9 @@ void MIDI_Host_Task(void)
if (NoteOnEvent || NoteOffEvent)
{
- printf_P(PSTR("MIDI Note %s - Channel %d, Pitch %d, Velocity %d"), NoteOnEvent ? "On" : "Off",
- ((MIDIEvent.Data1 & 0x0F) + 1),
- MIDIEvent.Data2, MIDIEvent.Data3);
+ printf_P(PSTR("MIDI Note %s - Channel %d, Pitch %d, Velocity %d\r\n"), NoteOnEvent ? "On" : "Off",
+ ((MIDIEvent.Data1 & 0x0F) + 1),
+ MIDIEvent.Data2, MIDIEvent.Data3);
}
Pipe_ClearIN();