浏览代码

Fix for include of MIDIUSB.h from Arduino sketch

main
PaulStoffregen 7 年前
父节点
当前提交
ca43543418
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      teensy3/MIDIUSB.h

+ 1
- 1
teensy3/MIDIUSB.h 查看文件

#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



正在加载...
取消
保存