diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-28 16:55:55 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-28 16:55:55 -0700 |
commit | 122c4101164d598e655fa9ad8473053d30ff4212 (patch) | |
tree | 415e43335b0a1ce1963a5b8029bf4312d6b1b7b6 /src/core/ao_report.c | |
parent | 9b9568a637ffdbc67225271005f2b996ee08a0df (diff) |
altos: Report continuity in telebt
Report continuity values from remote altimeter
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_report.c')
-rw-r--r-- | src/core/ao_report.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/ao_report.c b/src/core/ao_report.c index 3cf558e1..e0355d96 100644 --- a/src/core/ao_report.c +++ b/src/core/ao_report.c @@ -109,7 +109,7 @@ ao_report_altitude(void) } } -#if HAS_IGNITE +#if HAS_IGNITE_REPORT static uint8_t ao_report_igniter_ready(enum ao_igniter igniter) { @@ -133,6 +133,7 @@ ao_report_continuity(void) __reentrant low(AO_MS_TO_TICKS(20)); } } +#if HAS_LOG if (ao_log_full()) { pause(AO_MS_TO_TICKS(100)); c = 2; @@ -143,6 +144,7 @@ ao_report_continuity(void) __reentrant mid(AO_MS_TO_TICKS(100)); } } +#endif c = 50; while (c-- && ao_flight_state == ao_flight_pad) pause(AO_MS_TO_TICKS(100)); @@ -157,7 +159,7 @@ ao_report(void) if (ao_flight_state == ao_flight_landed) ao_report_altitude(); ao_report_beep(); -#if HAS_IGNITE +#if HAS_IGNITE_REPORT if (ao_flight_state == ao_flight_idle) ao_report_continuity(); while (ao_flight_state == ao_flight_pad) |