diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-15 09:28:30 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-15 09:28:30 -0600 |
commit | d0d29cc233b0d444782530fea15d957b2b4c45d7 (patch) | |
tree | b34428bd52fceb06827f0c8160b951307300c4eb /src | |
parent | 3225fb54ec1beaf6dc8553ab4f5b86bea6bdf1f3 (diff) |
altos/cc1111: Switch P1_0 from a green LED to USB pullup
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/telemini-v2.0/ao_pins.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/telemini-v2.0/ao_pins.h b/src/telemini-v2.0/ao_pins.h index 1b4f602f..f202ccd1 100644 --- a/src/telemini-v2.0/ao_pins.h +++ b/src/telemini-v2.0/ao_pins.h @@ -22,6 +22,12 @@ #define HAS_FLIGHT 1 #define HAS_USB 1 + +#define HAS_USB_PULLUP 1 +#define AO_USB_PULLUP_PORT P1 +#define AO_USB_PULLUP_PIN 0 +#define AO_USB_PULLUP P1_0 + #define USB_FORCE_FLIGHT_IDLE 1 #define HAS_BEEP 1 #define HAS_BEEP_CONFIG 0 @@ -34,9 +40,8 @@ #define HAS_DBG 0 #define PACKET_HAS_SLAVE 1 -#define AO_LED_GREEN 1 #define AO_LED_RED 2 -#define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN) +#define LEDS_AVAILABLE AO_LED_RED #define HAS_EXTERNAL_TEMP 0 #define HAS_ACCEL 0 #define HAS_IGNITE 1 |