Hi,
I am trying to implement an interface for scheduling high priority tasks.
i have modified TinySchedulerC.nc as follows

configuration TinySchedulerC
{
  provides interface Scheduler;
  provides interface TaskBasic[uint8_t id];
  provides interface TaskBasic[uint8_t taskID] as TaskHighPriority;
}
implementation
{

   //blah blah blah
}

when i compile my application i get an error
/opt/tinyos-2.x/tos/system/TinySchedulerC.nc:49: syntax error before `as'
/opt/tinyos-2.x/tos/system/TinySchedulerC.nc:54: cannot find `Scheduler'
/opt/tinyos-2.x/tos/system/TinySchedulerC.nc:55: cannot find `TaskBasic'


please help .


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

Reply via email to