summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-13 20:40:42 -0700
committerKeith Packard <keithp@keithp.com>2009-05-13 20:40:42 -0700
commit9b974217958b1017e62d6c4f4568f547ccc30c58 (patch)
treef38fbb8b2f3b0e70ce9427273619d19a0fe362d6 /ao.h
parent25fc03a333b2cfad0a93ebc385fbcf74b63c229e (diff)
Enable radio monitor by default in teleterra, teledongle and tidongle
These ground loads want to monitor the radio constantly, and not require use of the 'm' command before listening. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ao.h b/ao.h
index 96dd02d0..76fc00ce 100644
--- a/ao.h
+++ b/ao.h
@@ -23,6 +23,9 @@
#include <string.h>
#include "cc1111.h"
+#define TRUE 1
+#define FALSE 0
+
/* Convert a __data pointer into an __xdata pointer */
#define DATA_TO_XDATA(a) ((void __xdata *) ((uint8_t) (a) | 0xff00))
@@ -775,7 +778,10 @@ void
ao_monitor(void);
void
-ao_monitor_init(uint8_t led);
+ao_set_monitor(uint8_t monitoring);
+
+void
+ao_monitor_init(uint8_t led, uint8_t monitoring) __reentrant;
/*
* ao_stdio.c