syncSlave for problem 3

Revision:
0:362932d519c6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/timesync_slave.h	Fri Dec 03 20:53:52 2010 +0000
@@ -0,0 +1,19 @@
+#ifndef TIMESYNC_SLAVE_H
+#define TIMESYNC_SLAVE_H
+
+#include "timesync.h"
+
+#define HISTORY_LEN 8
+
+typedef struct {
+    hdtimeval_t v1div2;
+    hdtimeval_t w1div2;
+    hdtimeval_t beta1;
+    hdtimeval_t beta2;
+    hdtimeval_t hisw[HISTORY_LEN];
+    hdtimeval_t hisv[HISTORY_LEN];
+    uint8_t front;
+    uint8_t size;
+} coeff_t;
+
+#endif //TIMESYNC_SLAVE_H