summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
97dac0f)
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
#else
#define ao_usb_connected() 1
#endif
#define STARTUP_AVERAGE 5
static void
#define STARTUP_AVERAGE 5
static void
int32_t alt_sum = 0;
int nsamples = 0;
int32_t alt_sum = 0;
int nsamples = 0;
ao_timer_set_adc_interval(100);
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 (;;) {
ao_flight_state = ao_flight_startup;
for (;;) {