altos: Provide build hooks for sampling profiler in telegps
[fw/altos] / src / telegps-v0.1 / ao_telegps.c
index 91796c21082e983bcde7bcbd508dabdd125a5cd5..4620de3b3bcfd2f37195ca7bf78a2e601cf8df3e 100644 (file)
@@ -52,12 +52,15 @@ main(void)
        ao_fat_init();
 
        ao_gps_init();
-       ao_gps_report_mega_init();
+//     ao_gps_report_mega_init();
 
        ao_telemetry_init();
        ao_telemetry_set_interval(AO_SEC_TO_TICKS(1));
        ao_rdf_set(1);
 
+#if HAS_SAMPLE_PROFILE
+       ao_sample_profile_init();
+#endif
        ao_config_init();
        
        ao_start_scheduler();