summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-01-07 20:26:39 -0800
committerKeith Packard <keithp@keithp.com>2011-01-07 20:26:39 -0800
commit52ac83fedbfd380d14d4df2e79992bbdfba3552a (patch)
treed7d9d74d72060de6066a83c3e275469e3b0c5d74 /src/ao.h
parent00891b40754962ef6530b237ef52017bb58112d5 (diff)
altos: Check for full log and complain
Reports special tone along with the continuity checks. Reports flight 0 in telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index ad02a829..37a39a79 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -628,6 +628,10 @@ ao_log_write_erase(uint8_t pos);
uint8_t
ao_log_present(void);
+/* Returns true if there is no more storage space available */
+uint8_t
+ao_log_full(void);
+
/*
* ao_flight.c
*/