diff options
| author | mlundinse <lundin@mlu.mine.nu> | 2013-05-03 22:17:29 +0200 |
|---|---|---|
| committer | mlundinse <lundin@mlu.mine.nu> | 2013-05-03 22:17:29 +0200 |
| commit | 13487123a768e6e695dc49ba9a007143175eb376 (patch) | |
| tree | 6701747525a36d4ef91eccb37526ce384eeefef0 | |
| parent | f16f6a54383c6cabc98b1b6cb8ee8e8d1db76926 (diff) | |
Define BOARD_HAVE_MIDIUSB if BOARD_HAVE_USB
and USB_TYPE == USB_MIDI
Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
| -rw-r--r-- | wirish/include/wirish/usb_midi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wirish/include/wirish/usb_midi.h b/wirish/include/wirish/usb_midi.h index 3ee1989..5b09e90 100644 --- a/wirish/include/wirish/usb_midi.h +++ b/wirish/include/wirish/usb_midi.h @@ -35,6 +35,9 @@ #include <wirish/Print.h> #include <wirish/boards.h> +#define BOARD_HAVE_MIDIUSB (BOARD_HAVE_USB && \ + (defined(USB_TYPE) && USB_TYPE == USB_MIDI)) + /** * @brief Virtual serial terminal. */ |
