#include "State.h"
-module StateImplP {
+module StateImplP @safe() {
provides {
interface Init;
interface State[uint8_t id];
/***************** Init Commands ****************/
command error_t Init.init() {
- int i;
- for(i = 0; i < uniqueCount(UQ_STATE); i++) {
- state[i] = S_IDLE;
- }
return SUCCESS;
}