]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/TimeSyncMessage.h
RF230: timesync changes to lower memory usage
[tinyos-2.x.git] / tos / chips / rf230 / TimeSyncMessage.h
index 2ef2fb024bc2bebf7213e2905de678f00f71ec75..38fba022cf691955c64570099d3af09a554d0bd8 100644 (file)
 #ifndef __TIMESYNCMESSAGE_H__
 #define __TIMESYNCMESSAGE_H__
 
-typedef nx_struct timesync_footer_t
-{
-       nx_int32_t time_offset; // in micorsec
-} timesync_footer_t;
+// this value is sent in the air
+typedef nx_int32_t timesync_relative_t;
+
+// this value is stored in memory
+typedef uint32_t timesync_absolute_t;
 
 #endif//__TIMESYNCMESSAGE_H__