diff options
| author | Keith Packard <keithp@keithp.com> | 2012-08-29 11:25:36 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-08-29 11:25:36 -0700 | 
| commit | aea10c107dff2643677a9c8d1fc41e14f4a66049 (patch) | |
| tree | 6a3884bc3ec0f841925a691f2253131087277282 /src | |
| parent | 3e7e8e21f2bb823cb6e74c73d0feddbc3a891107 (diff) | |
altos: spiradio debug serial is port 1, not port 0
The SPI link uses port 0; it seems like the having the two try to
share the same wires is a bad plan.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/spiradio-v0.1/ao_pins.h | 17 | 
1 files changed, 10 insertions, 7 deletions
diff --git a/src/spiradio-v0.1/ao_pins.h b/src/spiradio-v0.1/ao_pins.h index 363eafa4..f38aade6 100644 --- a/src/spiradio-v0.1/ao_pins.h +++ b/src/spiradio-v0.1/ao_pins.h @@ -24,12 +24,15 @@  #define HAS_USB			0  #define HAS_BEEP		0  #define HAS_GPS			0 -#define HAS_SERIAL_0		1 -#define HAS_SERIAL_0_ALT_1	1 +#define HAS_SERIAL_0		0 +#define HAS_SERIAL_0_ALT_1	0  #define HAS_SERIAL_0_HW_FLOW	0 -#define USE_SERIAL_0_STDIN	1 -#define DELAY_SERIAL_0_STDIN	0 -#define HAS_SERIAL_1		0 +#define USE_SERIAL_0_STDIN	0 +#define HAS_SERIAL_1		1 +#define HAS_SERIAL_1_ALT_1	1 +#define HAS_SERIAL_1_HW_FLOW	0 +#define USE_SERIAL_1_STDIN	1 +#define DELAY_SERIAL_1_STDIN	0  #define HAS_ADC			0  #define HAS_DBG			0  #define HAS_EEPROM		0 @@ -38,8 +41,8 @@  #define DBG_ON_P1 		0  #define PACKET_HAS_MASTER	0  #define PACKET_HAS_SLAVE	0 -#define AO_LED_RED		2 -#define AO_LED_GREEN		1 +#define AO_LED_RED		1 +#define AO_LED_GREEN		2  #define LEDS_AVAILABLE		(AO_LED_RED|AO_LED_GREEN)  #define HAS_EXTERNAL_TEMP	0  #define HAS_ACCEL_REF		0  | 
