From 6d858b64ee0e8c227c149d2af6d2d634536964f4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 6 May 2011 22:12:31 -0700 Subject: [PATCH] altos: pull TBT v0.1 ser_reset line low This line resets the BT module if held low for three seconds. Signed-off-by: Keith Packard --- src/ao_btm.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ao_btm.c b/src/ao_btm.c index 355c3ca4..241b3f6a 100644 --- a/src/ao_btm.c +++ b/src/ao_btm.c @@ -254,6 +254,15 @@ ao_btm_init (void) ao_serial_init(); ao_serial_set_speed(AO_SERIAL_SPEED_19200); +#if BT_LINK_ON_P1 + /* + * Configure ser reset line + */ + + P1_6 = 0; + P1DIR |= (1 << 6); +#endif + /* * Configure link status line */ -- 2.30.2