diff 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
line wrap: on
line diff
--- a/include/ClockSync.h	Mon Sep 14 17:35:18 2015 +0100
+++ b/include/ClockSync.h	Mon Sep 14 21:31:09 2015 +0100
@@ -5,6 +5,11 @@
 #include "UdpClient.h"
 #include "Clock.h"
 #include "VirtualClock.h"
+#ifdef USE_JUCE
+#else
+#include <I2c_Codec.h>
+extern I2c_Codec* gAudioCodec;
+#endif /* USE_JUCE */
 
 enum ptpMessageConsts{
 	kSyncMessageLength=sizeof(myClock_t)+sizeof(int)