projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: profiling on STM32L
[fw/altos]
/
src
/
megametrum-v0.1
/
ao_megametrum.c
diff --git
a/src/megametrum-v0.1/ao_megametrum.c
b/src/megametrum-v0.1/ao_megametrum.c
index d3ae4690c41de2e85c9ea4b402fb35cc8e009d48..114f144fc3271c10c90b780e8fe6cf8e60bcda37 100644
(file)
--- a/
src/megametrum-v0.1/ao_megametrum.c
+++ b/
src/megametrum-v0.1/ao_megametrum.c
@@
-24,6
+24,9
@@
#include <ao_packet.h>
#include <ao_companion.h>
#include <ao_profile.h>
#include <ao_packet.h>
#include <ao_companion.h>
#include <ao_profile.h>
+#if HAS_SAMPLE_PROFILE
+#include <ao_sample_profile.h>
+#endif
#include <ao_pyro.h>
int
#include <ao_pyro.h>
int
@@
-78,6
+81,9
@@
main(void)
#if AO_PROFILE
ao_profile_init();
#endif
#if AO_PROFILE
ao_profile_init();
#endif
+#if HAS_SAMPLE_PROFILE
+ ao_sample_profile_init();
+#endif
ao_start_scheduler();
return 0;
ao_start_scheduler();
return 0;