X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420_tkn154%2FReferenceTime.nc;h=3e77e3c85acbc3f8e887e8991c4641216b30fad3;hb=280de4fedba9a7080138600e623cdadf22bf728a;hp=e91e0e6bca0fc13d384adb35d6fd9609dda3027e;hpb=cfc8b8448d14883d4d47e0852797366ef0c13a75;p=tinyos-2.x.git diff --git a/tos/chips/cc2420_tkn154/ReferenceTime.nc b/tos/chips/cc2420_tkn154/ReferenceTime.nc index e91e0e6b..3e77e3c8 100644 --- a/tos/chips/cc2420_tkn154/ReferenceTime.nc +++ b/tos/chips/cc2420_tkn154/ReferenceTime.nc @@ -33,12 +33,12 @@ interface ReferenceTime { /** - * Gets current reference time plus dt symbols. + * Gets current time and adds dt symbols. */ - async command void getNow(ieee154_reftime_t* reftime, uint16_t dt); + async command void getNow(ieee154_timestamp_t* time, uint16_t dt); /** * Converts reference time to local time. */ - async command uint32_t toLocalTime(ieee154_reftime_t* refTime); + async command uint32_t toLocalTime(const ieee154_timestamp_t* time); }