Make sure log can start by scanning existing logs
Enable RDF by default
Turn off telemetry until we decide whether to turn it on in the loop
Allow TeleGPS v0.3 to run without ADC
Signed-off-by: Keith Packard <keithp@keithp.com>
#else
#define ao_usb_connected() 1
#endif
-
+
#define STARTUP_AVERAGE 5
static void
int32_t alt_sum = 0;
int nsamples = 0;
+#if HAS_ADC
ao_timer_set_adc_interval(100);
+#endif
+
+ ao_log_scan();
+
+ ao_rdf_set(1);
+
+ ao_telemetry_set_interval(0);
ao_flight_state = ao_flight_startup;
for (;;) {