which version of nesC are you using?
<TMilli>-like stuff works only on somewhere near 1.2 or later
version of nesC.
Try installing nesC 1.2.8

Thanks

- jpaek

Christophe Braillon wrote:
Hi,

I have a problem compiling an application at this line:

components new Timer<TMilli> as Timer0;

I get the error "TestSwitchesAppC.nc:13: syntax error before `<'"

It works when I change the line to:

components new TimerMilliC() as Timer0;

Has anyone an idea?

Christophe
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--

Jeongyeup Paek
Ph.D. student
Embedded Networks Laboratory
Department of Computer Science
University of Southern California
http://enl.usc.edu/~jpaek
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to