Mercurial > hg > beaglert
comparison include/ClockSync.h @ 144:55c1e591cb2e ClockSync
Added ifdefs for USE_JUCE compatibility
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 14 Sep 2015 21:31:09 +0100 |
parents | 44d07fa9bd03 |
children | 134bff10e561 |
comparison
equal
deleted
inserted
replaced
143:dd24379336f1 | 144:55c1e591cb2e |
---|---|
3 #include "stats.hpp" | 3 #include "stats.hpp" |
4 #include "UdpServer.h" | 4 #include "UdpServer.h" |
5 #include "UdpClient.h" | 5 #include "UdpClient.h" |
6 #include "Clock.h" | 6 #include "Clock.h" |
7 #include "VirtualClock.h" | 7 #include "VirtualClock.h" |
8 #ifdef USE_JUCE | |
9 #else | |
10 #include <I2c_Codec.h> | |
11 extern I2c_Codec* gAudioCodec; | |
12 #endif /* USE_JUCE */ | |
8 | 13 |
9 enum ptpMessageConsts{ | 14 enum ptpMessageConsts{ |
10 kSyncMessageLength=sizeof(myClock_t)+sizeof(int) | 15 kSyncMessageLength=sizeof(myClock_t)+sizeof(int) |
11 }; | 16 }; |
12 enum ptpMessageType{ | 17 enum ptpMessageType{ |