Mercurial > hg > beaglert
diff core/Midi.cpp @ 228:a0a7f00cf98d mergingClockSync
Fixed midi-heavy: stray [spigot]
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 08 Apr 2016 22:26:44 +0100 |
parents | af1e662400fc |
children | e4392164b458 |
line wrap: on
line diff
--- a/core/Midi.cpp Fri Apr 01 05:04:13 2016 +0100 +++ b/core/Midi.cpp Fri Apr 08 22:26:44 2016 +0100 @@ -173,10 +173,9 @@ objAddrs[kMidiInput].push_back(this); inputPort = open("/dev/midi1", O_RDONLY | O_NONBLOCK | O_NOCTTY); if(inputPort < 0){ - printf("Error occurred while opening midi input port %d: %d", port, inputPort); return -1; } else { - printf("Reading from port %d\n", port); + printf("Reading from Midi port %d\n", port); BeagleRT_scheduleAuxiliaryTask(midiInputTask); return 1; } @@ -186,7 +185,6 @@ objAddrs[kMidiOutput].push_back(this); outputPort = open("/dev/midi1", O_WRONLY, 0); if(outputPort < 0){ - printf("Error occurred while opening midi output port %d: %d", port, outputPort); return -1; } else { printf("Writing to Midi port %d\n", port);