X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FTimeSyncMessage.h;h=38fba022cf691955c64570099d3af09a554d0bd8;hb=aede9c82ea9e35ba71582bdee4075b8ca397dcbe;hp=2ef2fb024bc2bebf7213e2905de678f00f71ec75;hpb=e90b80efe22dc89b94b4d032715269849ff6796e;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__