Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 1920 → Rev 1921

/trunk/apps/benchmarks/midi_out/mios32_config.h
62,5 → 62,10
// don't poll receive status (OUT only)
#define MIOS32_IIC_MIDI0_ENABLED 1
 
// how many SPI MIDI ports are available?
// if 0: interface disabled (default)
// other allowed values: 1..8
#define MIOS32_SPI_MIDI_NUM_PORTS 4
 
 
#endif /* _MIOS32_CONFIG_H */
/trunk/apps/benchmarks/midi_out/app.c
192,6 → 192,12
MIOS32_MIDI_SendDebugMessage("Testing Port 0x%02x (OSC), 8 events bundled in a datagram\n", tested_port);
break;
 
case 8:
tested_port = SPI0;
MIOS32_MIDI_SendDebugMessage("Testing Port 0x%02x (SPI0)\n", tested_port);
break;
 
 
default:
MIOS32_MIDI_SendDebugMessage("This note isn't mapped to a test function.\n", tested_port);
return;