projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7f628
)
altos: Let ao_data.c be used by ao_flight_test
author
Keith Packard
<keithp@keithp.com>
Sun, 11 Oct 2020 04:55:36 +0000
(21:55 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 11 Oct 2020 04:55:36 +0000
(21:55 -0700)
Just skip the ao headers in that case.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_data.c
patch
|
blob
|
history
diff --git
a/src/kernel/ao_data.c
b/src/kernel/ao_data.c
index 77cd98e40cdc577bbfd7d998cdfb9f21b1fb5887..f8d8e7f1b66a2b1b950c5ee1e496731de4c41f27 100644
(file)
--- a/
src/kernel/ao_data.c
+++ b/
src/kernel/ao_data.c
@@
-16,8
+16,10
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
+#ifndef AO_FLIGHT_TEST
#include <ao.h>
#include <ao_data.h>
+#endif
volatile struct ao_data ao_data_ring[AO_DATA_RING];
volatile uint8_t ao_data_head;