Mercurial > hg > beaglert
changeset 138:53e3c0a3295d ClockSync
Added xenomai version of Clock, now includes header
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 13 Sep 2015 21:33:01 +0100 |
parents | aac018615930 |
children | 4e2dd3eb1d28 |
files | include/Clock.h |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/Clock.h Sun Sep 13 21:31:37 2015 +0100 +++ b/include/Clock.h Sun Sep 13 21:33:01 2015 +0100 @@ -3,10 +3,16 @@ #include <sys/time.h> #include <stdio.h> +#ifdef USE_JUCE +#else +//#include <BeagleRT.h> +#include <native/timer.h> +#endif /* USE_JUCE */ + typedef long long int myClock_t; namespace Clock { myClock_t getTimeUs(); } -#endif /* CLOCK_H_INCLUDED */ \ No newline at end of file +#endif /* CLOCK_H_INCLUDED */