From b6ed8126b7c530bc8357b76d1fe573e985042fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20St=C3=A4ck?= Date: Mon, 24 Jun 2019 15:38:29 +0200 Subject: [PATCH] Allow midi+serial usb type too (useful for "console debugging") --- NuEVI/NuEVI.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NuEVI/NuEVI.ino b/NuEVI/NuEVI.ino index 3420666..270cca0 100644 --- a/NuEVI/NuEVI.ino +++ b/NuEVI/NuEVI.ino @@ -43,8 +43,8 @@ PROGRAMME FUNCTION: EVI Wind Controller using the Freescale MP3V5004GP breath #error "Wrong target platform. Please set to Teensy 3.1/3.2 (MK20DX256)." #endif -#ifndef USB_MIDI - #error "USB_MIDI not enabled. Please set USB type to include MIDI." +#if !defined(USB_MIDI) && !defined(USB_MIDI_SERIAL) + #error "USB MIDI not enabled. Please set USB type to 'MIDI' or 'Serial + MIDI'." #endif