aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/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/ClassDriver/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/ClassDriver/MIDIHost')
-rw-r--r--Demos/Host/ClassDriver/MIDIHost/MIDIHost.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
index 64e651944..f467d16bc 100644
--- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
+++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
@@ -114,9 +114,9 @@ int main(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);
}
}