summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a339a91)
These were inside another #if HAS_FLIGHT define...
Signed-off-by: Keith Packard <keithp@keithp.com>
while (!ao_log_running)
ao_sleep(&ao_log_running);
while (!ao_log_running)
ao_sleep(&ao_log_running);
log.type = AO_LOG_FLIGHT;
log.tick = ao_sample_tick;
#if HAS_ACCEL
log.type = AO_LOG_FLIGHT;
log.tick = ao_sample_tick;
#if HAS_ACCEL
log.u.flight.ground_pres = ao_ground_pres;
log.u.flight.flight = ao_flight_number;
ao_log_mega(&log);
log.u.flight.ground_pres = ao_ground_pres;
log.u.flight.flight = ao_flight_number;
ao_log_mega(&log);
/* Write the whole contents of the ring to the log
* when starting up.
/* Write the whole contents of the ring to the log
* when starting up.