summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kernel/ao_report_micro.c1
-rw-r--r--src/kernel/ao_report_micro.h21
2 files changed, 22 insertions, 0 deletions
diff --git a/src/kernel/ao_report_micro.c b/src/kernel/ao_report_micro.c
index af68457d..9c7afdc5 100644
--- a/src/kernel/ao_report_micro.c
+++ b/src/kernel/ao_report_micro.c
@@ -17,6 +17,7 @@
*/
#include <ao.h>
+#include <ao_report_micro.h>
#define mid(time) ao_led_for(AO_LED_REPORT, time)
#define pause(time) ao_delay(time)
diff --git a/src/kernel/ao_report_micro.h b/src/kernel/ao_report_micro.h
new file mode 100644
index 00000000..bd6c0622
--- /dev/null
+++ b/src/kernel/ao_report_micro.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2017 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+
+#ifndef _AO_REPORT_MICRO_H_
+#define _AO_REPORT_MICRO_H_
+
+void
+ao_report_altitude(void);
+
+#endif /* _AO_REPORT_MICRO_H_ */