summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3336d0f)
This line resets the BT module if held low for three seconds.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao_serial_init();
ao_serial_set_speed(AO_SERIAL_SPEED_19200);
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
*/
/*
* Configure link status line
*/