From 61d176c407793458c1f79c78508576025b771d5f Mon Sep 17 00:00:00 2001 From: Francois Best Date: Tue, 10 Aug 2021 14:46:55 +0200 Subject: [PATCH] chore: Fix SoftwareSerial example on Arduino Zero --- examples/AltPinSerial/AltPinSerial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/AltPinSerial/AltPinSerial.ino b/examples/AltPinSerial/AltPinSerial.ino index 65a0c49..ce57cb0 100644 --- a/examples/AltPinSerial/AltPinSerial.ino +++ b/examples/AltPinSerial/AltPinSerial.ino @@ -5,7 +5,7 @@ // Here, when receiving any message on channel 4, the Arduino // will blink a led and play back a note for 1 second. -#if defined(ARDUINO_SAM_DUE) || defined(SAMD_SERIES) +#if defined(ARDUINO_SAM_DUE) || defined(SAMD_SERIES) || defined(_VARIANT_ARDUINO_ZERO_) /* example not relevant for this hardware (SoftwareSerial not supported) */ MIDI_CREATE_DEFAULT_INSTANCE(); #else