altos: Add header file for ao_report_micro.c
authorKeith Packard <keithp@keithp.com>
Fri, 28 Apr 2017 07:00:11 +0000 (00:00 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 28 Apr 2017 07:00:11 +0000 (00:00 -0700)
Defines the functions in this file.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_report_micro.c
src/kernel/ao_report_micro.h [new file with mode: 0644]

index af68457de05f71863cce9341a4247e513e0e3f15..9c7afdc56d2a850d28bc2f9a2920b44bfba9c94d 100644 (file)
@@ -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 (file)
index 0000000..bd6c062
--- /dev/null
@@ -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_ */