Fix examples.

This commit is contained in:
Francois Best 2016-10-10 17:16:04 +02:00
parent ff6bf0111b
commit 73dfc79815
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ install:
fi fi
# Use clang 3.5 # Use clang 3.5
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5"; export CC="clang-3.5"; fi - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5"; export CC="clang-3.5"; fi
- arduino --install-library "MIDIUSB"
script: script:
# Build examples with Arduino IDE on each available platform / board # Build examples with Arduino IDE on each available platform / board

View File

@ -6,7 +6,7 @@
MIDI_CREATE_DEFAULT_INSTANCE(); MIDI_CREATE_DEFAULT_INSTANCE();
static const ledPin = 13; // LED pin on Arduino Uno static const unsigned ledPin = 13; // LED pin on Arduino Uno
void setup() void setup()
{ {