X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FTimeSyncMessage.h;h=38fba022cf691955c64570099d3af09a554d0bd8;hb=527029d66219256dc77aa66360020549a458ebbc;hp=2ef2fb024bc2bebf7213e2905de678f00f71ec75;hpb=963fc08bb8df6e1466480985c8b2dda65283e287;p=tinyos-2.x.git diff --git a/tos/chips/rf230/TimeSyncMessage.h b/tos/chips/rf230/TimeSyncMessage.h index 2ef2fb02..38fba022 100644 --- a/tos/chips/rf230/TimeSyncMessage.h +++ b/tos/chips/rf230/TimeSyncMessage.h @@ -24,9 +24,10 @@ #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__