naren0nindiatimes / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

HilTimerMilliC exposes the Init interface and LocalTimeMilliC cannot call it #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile the BaseStation application for the IRIS platform

What is the expected output? What do you see instead?
The compilation is giving out warnings that Init is not wired

The BaseStation application does not use any timers but it uses the 
LocalTimeMilliC component (the radio stack uses it for time stamping). The 
problem is that HilTimerMilliC.Init is wired from TimerMilliP and if that 
component is not included, then the Init is not going to be wired.

A temporary fix is to include TimerMilliP in LocalTimeMilliC. A better solution 
is to remove the Init interface from HilTimerMilliC and do the initialiyation 
inside HilTimerMilliC.

Original issue reported on code.google.com by mmar...@gmail.com on 15 Oct 2011 at 9:34