mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Disable some more warnings in the MIDI examples
This commit is contained in:
parent
738adc67f6
commit
c2a0c98d71
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue