diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-27 15:19:43 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-27 15:19:43 -0700 |
| commit | b33a92e372327158ab21c1bb2d091c58761efe10 (patch) | |
| tree | 3603ca6802d59a36e090d826fc5e11a39c290982 /src/product | |
| parent | 7e2b5e2957ddcb808723081ca7e046a28b7e70e5 (diff) | |
altos: Share log code between telescience and telebt. Add telebt log
Telescience and telebt both log data in 32-byte chunks, so share some
code which manages that between the two products. Add simple telemetry
logging to telebt.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
| -rw-r--r-- | src/product/ao_telebt.c | 3 | ||||
| -rw-r--r-- | src/product/ao_telescience.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/product/ao_telebt.c b/src/product/ao_telebt.c index 5bbbf71b..cb23f391 100644 --- a/src/product/ao_telebt.c +++ b/src/product/ao_telebt.c @@ -42,6 +42,9 @@ main(void) ao_radio_init(); ao_packet_master_init(); ao_btm_init(); +#if HAS_LOG + ao_log_single_init(); +#endif #if HAS_DBG ao_dbg_init(); #endif diff --git a/src/product/ao_telescience.c b/src/product/ao_telescience.c index 4dec3a18..45b6d40e 100644 --- a/src/product/ao_telescience.c +++ b/src/product/ao_telescience.c @@ -33,7 +33,7 @@ main(void) ao_storage_init(); ao_usb_init(); ao_adc_init(); - ao_log_init(); + ao_log_single_init(); ao_start_scheduler(); return 0; } |
