summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-19 13:20:19 -0700
committerKeith Packard <keithp@keithp.com>2011-04-19 13:20:19 -0700
commite3d501940718428135e04995dff7fef691c08a20 (patch)
treeb1b2cda9fed2f4c147ceb00a08fa83b49675cc98 /src/ao.h
parent6b5957d5f6f8181da7be98c9bce49a0ec0b4a713 (diff)
altos: Solidify BT connections
Use delays while sending commands to BT module. Don't use BT for stdio until the module is initialized. Add \r to name setting command Don't require 'connected' signal for command input. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao.h b/src/ao.h
index dad1f3df..226f9a22 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1194,7 +1194,7 @@ extern __xdata uint8_t ao_stdin_ready;
uint8_t
ao_echo(void);
-void
+int8_t
ao_add_stdio(char (*pollchar)(void),
void (*putchar)(char) __reentrant,
void (*flush)(void)) __reentrant;