]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/shimmer/Time.nc
added command to set current time from app space.
[tinyos-2.x.git] / tos / platforms / shimmer / Time.nc
index 76e2a01134b3d12784ee9432aa26628f1e4f3580..530d66a6897e7d0055cab186f13ead7800f469a0 100644 (file)
@@ -37,5 +37,6 @@ interface Time {
   command error_t localtime(const time_t *timer, struct tm *tm);
   command error_t asctime(const struct tm *tm, char *buf, int buflen);
   command error_t time(time_t *timer);
+  command void setCurrentTime(time_t current_time);
   event void tick();
 }