X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fchips%2Fcc2420_tkn154%2FReferenceTime.nc;h=3e77e3c85acbc3f8e887e8991c4641216b30fad3;hp=e91e0e6bca0fc13d384adb35d6fd9609dda3027e;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 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); }