Disable some more warnings in the MIDI examples

This commit is contained in:
Kristian Sloth Lauszus 2016-04-24 02:37:34 +02:00
parent 738adc67f6
commit c2a0c98d71
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ env:
- PLATFORMIO_CI_SRC=examples/PSBuzz
# - PLATFORMIO_CI_SRC=examples/testusbhostFAT
- PLATFORMIO_CI_SRC=examples/USB_desc
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/bidrectional_converter
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/bidrectional_converter PLATFORMIO_CI_EXTRA_ARGS="-Wno-error -Wno-parentheses"
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/eVY1_sample
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/USB_MIDI_converter
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/USB_MIDI_converter_multi
@ -74,4 +74,4 @@ install:
- platformio lib install 62 416 417
script:
- platformio ci --board=uno --board=teensy31 --board=due --lib="."
- platformio ci --board=uno --board=teensy31 --board=due --lib="." $PLATFORMIO_CI_EXTRA_ARGS

View file

@ -87,7 +87,7 @@ void doDelay(unsigned long t1, unsigned long t2, unsigned long delayTime)
unsigned long t3;
if ( t1 > t2 ) {
t3 = (4294967295 - t1 + t2);
t3 = (0xFFFFFFFF - t1 + t2);
} else {
t3 = t2 - t1;
}