Browse Source

Fix for include of MIDIUSB.h from Arduino sketch

main
PaulStoffregen 6 years ago
parent
commit
ca43543418
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/MIDIUSB.h

+ 1
- 1
teensy3/MIDIUSB.h View File

#include "usb_midi.h" #include "usb_midi.h"


#ifdef __cplusplus #ifdef __cplusplus
#ifndef MIDI_INTERFACE
#if !defined(USB_MIDI) && !defined(USB_MIDI4) && !defined(USB_MIDI16) && !defined(USB_MIDI_SERIAL) && !defined(USB_MIDI4_SERIAL) && !defined(USB_MIDI16_SERIAL) && !defined(USB_MIDI_AUDIO_SERIAL) && !defined(USB_MIDI16_AUDIO_SERIAL) && !defined(USB_EVERYTHING)
#error "Please select MIDI in Tools > USB Type to use MIDIUSB.h" #error "Please select MIDI in Tools > USB Type to use MIDIUSB.h"
#endif #endif



Loading…
Cancel
Save