From f2b94221276617b5002215fdf2e29201eacf65e0 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 4 Dec 2018 16:30:02 -0800 Subject: [PATCH] Use python2 --- .travis.yml | 4 ++-- src/boards/particle_argon.h | 1 + src/boards/particle_xenon.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2d2c21..fed9a0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,8 @@ before_script: - gcc --version - arm-none-eabi-gcc --version - python3 --version - - sudo apt-get install -y python3-pip - - pip3 install --user adafruit-nrfutil + - python --version + - pip install --user adafruit-nrfutil script: - python3 tools/build_all.py diff --git a/src/boards/particle_argon.h b/src/boards/particle_argon.h index c89d799..2fc201f 100644 --- a/src/boards/particle_argon.h +++ b/src/boards/particle_argon.h @@ -49,6 +49,7 @@ #define LED_RGB_RED_PIN _PINNUM(0, 13) #define LED_RGB_GREEN_PIN _PINNUM(0, 14) #define LED_RGB_BLUE_PIN _PINNUM(0, 15) + #define BOARD_RGB_BRIGHTNESS 0x202020 /*------------------------------------------------------------------*/ /* BUTTON diff --git a/src/boards/particle_xenon.h b/src/boards/particle_xenon.h index 7836a92..48c866c 100644 --- a/src/boards/particle_xenon.h +++ b/src/boards/particle_xenon.h @@ -44,11 +44,12 @@ *------------------------------------------------------------------*/ #define LEDS_NUMBER 1 #define LED_PRIMARY_PIN _PINNUM(1, 12) - #define LED_STATE_ON 0 + #define LED_STATE_ON 1 #define LED_RGB_RED_PIN _PINNUM(0, 13) #define LED_RGB_GREEN_PIN _PINNUM(0, 14) #define LED_RGB_BLUE_PIN _PINNUM(0, 15) + #define BOARD_RGB_BRIGHTNESS 0x202020 /*------------------------------------------------------------------*/ /* BUTTON