Two comments:

1. I don't know anything about SysTimeC.nc, so I really can't help you on that one - 
sorry ;-)

2. I don't know if this true - but you may want to try calling TOSH_SIGNAL instead of 
interrupt.  The SIG_ prefix leads me to believe this is a signal, not an interrupt 
(but I don't really know the difference right now, so I'm just kind of guessing here).

As for that last warning - it should give you a file & line number where there's a 
declaration of 'time' is being declared (maybe as a variable or function name) , when 
there has already been something globally declared as 'time'. 

Good luck!

-David


> 2. I couldn't get the: 
> "old-style parameter lists not supported"
> error fixed using:
>     TOSH_INTERRUPT(SIG_OVERFLOW1) __attribute((spontaneous)){
>         high16 ++;
>     }
> -or-
>     TOSH_INTERRUPT(SIG_OVERFLOW1) {
>         high16 ++;
>     }
> 
> So I hardwired the macro invocation:
>     void SIG_OVERFLOW1() __attribute__ ((interrupt, spontaneous, C)) {
>         high16 ++;
>     }
> 
> 
> 3. To get the new TimerC to work correctly, you must wire:
>   Main.StdControl -> TimerC.StdControl;
> in your app.
> 
> Note: all the "declaration of `time' shadows global declaration"
> warnings still remain
> 
> William
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to