summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-11-30 15:04:21 -0800
committerKeith Packard <keithp@keithp.com>2012-11-30 15:04:21 -0800
commit81648829defbaf49fc98c4520540f7a20c50c417 (patch)
treec79636a61586d93f5baaf0d4985acf77612bc329 /src/core/ao.h
parent289ead258e217bc10493caab12a8b477f1bc2865 (diff)
altos: Share getnibble function
Two implementations of the same function, one in cc1111/ao_dbg.c and the other in core/ao_send_packet.c. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 81d92e72..1aff3d49 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -170,6 +170,10 @@ ao_cmd_hex(void);
void
ao_cmd_decimal(void);
+/* Read a single hex nibble off stdin. */
+uint8_t
+ao_getnibble(void);
+
uint8_t
ao_match_word(__code char *word);