Change from usleep and gettimeofday to clock_nanosleep and clock_gettime
[matches/MCTX3420.git] / server / sensor.h
index 0285252..0fe2136 100644 (file)
@@ -56,7 +56,7 @@ typedef struct
        /** Human readable name of the sensor **/
        const char * name;
        /** Sampling rate **/
-       int sample_us;
+       struct timespec sample_time;
        /** Number of averages per sample **/
        int averages;
 

UCC git Repository :: git.ucc.asn.au