diff options
author | Keith Packard <keithp@keithp.com> | 2017-04-28 00:00:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-04-28 00:00:11 -0700 |
commit | 4d4675cbadcb0ab9df8f6d5155797dca400315c0 (patch) | |
tree | 5db7d6745533ccb808a296783a295aedb9b06d58 /src | |
parent | 75c26a26e905e3d4f141badfcb6ec6995ed58213 (diff) |
altos: Add header file for ao_report_micro.c
Defines the functions in this file.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/ao_report_micro.c | 1 | ||||
-rw-r--r-- | src/kernel/ao_report_micro.h | 21 |
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_ */ |