Skip to content

Commit 8f44b62

Browse files
committed
Only define WIICAMERA for WiiIRCamera example
1 parent d9b32ad commit 8f44b62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
- PLATFORMIO_CI_SRC=examples/Bluetooth/SPPMulti
2626
- PLATFORMIO_CI_SRC=examples/Bluetooth/Wii
2727
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiBalanceBoard
28-
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiIRCamera
28+
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiIRCamera PLATFORMIO_BUILD_FLAGS="-DWIICAMERA"
2929
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiMulti
3030
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiUProController
3131
- PLATFORMIO_CI_SRC=examples/board_qc
@@ -63,7 +63,7 @@ env:
6363

6464
install:
6565
- pip install -U platformio
66-
- export PLATFORMIO_BUILD_FLAGS="-DDEBUG_USB_HOST -DWIICAMERA -Wall -Werror -Wno-unused-function"
66+
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror -Wno-unused-function"
6767

6868
#
6969
# Libraries from PlatformIO Library Registry:

0 commit comments

Comments
 (0)