X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fepic%2FMotePlatformC.nc;h=43ea3fbe3afd77750b14d2d6f81c6d49db0ab49d;hb=b1b9366c5a59ead38e3c1a0e765a7eb93120df59;hp=5636b321bc3b84fdec4f4e0f4030e2b961a12fe2;hpb=c6d9663aef7ea2f34323160158e0143cd38880cd;p=tinyos-2.x.git diff --git a/tos/platforms/epic/MotePlatformC.nc b/tos/platforms/epic/MotePlatformC.nc index 5636b321..43ea3fbe 100644 --- a/tos/platforms/epic/MotePlatformC.nc +++ b/tos/platforms/epic/MotePlatformC.nc @@ -1,5 +1,6 @@ module MotePlatformC @safe() { provides interface Init; + uses interface Init as SubInit; } implementation { @@ -40,6 +41,8 @@ implementation { // directions using the TOSH_SET/CLR macros }//atomic - return SUCCESS; + return call SubInit.init(); } + + default command error_t SubInit.init() { return SUCCESS; } }