diff options
author | Keith Packard <keithp@keithp.com> | 2010-04-22 14:53:44 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-04-22 16:25:38 -0700 |
commit | e7dc7fab787df63a4de72c8450e94092eb04d7db (patch) | |
tree | 8695b1131ca45c88574368dd912527fc606de4da /src/ao_pins.h | |
parent | f4383394b5d2b275b21e3ce8040d8cb9e48bb375 (diff) |
Add optional 's' command to packet slave to enable/disable slave mode
This option has been selected for teledongle so that you can use slave
mode and hook two teledongles together over the RF link.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_pins.h')
-rw-r--r-- | src/ao_pins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ao_pins.h b/src/ao_pins.h index e9a265b0..5a0b4318 100644 --- a/src/ao_pins.h +++ b/src/ao_pins.h @@ -41,7 +41,8 @@ #define DBG_ON_P1 1 #define DBG_ON_P0 0 #define PACKET_HAS_MASTER 1 - #define PACKET_HAS_SLAVE 0 + #define PACKET_HAS_SLAVE 1 + #define PACKET_HAS_SLAVE_CMD 1 #define AO_LED_RED 1 #define AO_LED_GREEN 2 #define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN) |