projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a339a91
)
altos: Remove spurious #if HAS_FLIGHT in ao_log_mega.c
author
Keith Packard
<keithp@keithp.com>
Sat, 31 May 2014 00:29:37 +0000
(17:29 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 31 May 2014 00:33:07 +0000
(17:33 -0700)
These were inside another #if HAS_FLIGHT define...
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_log_mega.c
patch
|
blob
|
history
diff --git
a/src/kernel/ao_log_mega.c
b/src/kernel/ao_log_mega.c
index 8997fd0596f19f63b7a3cab772ceefaa12f03941..401cd2b567466528dedbef626eec3105112dce6d 100644
(file)
--- a/
src/kernel/ao_log_mega.c
+++ b/
src/kernel/ao_log_mega.c
@@
-90,7
+90,6
@@
ao_log(void)
while (!ao_log_running)
ao_sleep(&ao_log_running);
-#if HAS_FLIGHT
log.type = AO_LOG_FLIGHT;
log.tick = ao_sample_tick;
#if HAS_ACCEL
@@
-107,7
+106,6
@@
ao_log(void)
log.u.flight.ground_pres = ao_ground_pres;
log.u.flight.flight = ao_flight_number;
ao_log_mega(&log);
-#endif
/* Write the whole contents of the ring to the log
* when starting up.