]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mulle/PlatformC.nc
Removed the use of the Boot interface in PlatformP/C and also made them compatible...
[tinyos-2.x.git] / tos / platforms / mulle / PlatformC.nc
index c236b9ad3ae579bd0f550bc66ff9b4f1680bce67..11285d094f3a0c4dff2ec3e8c924ae67d9776bb3 100755 (executable)
@@ -57,16 +57,16 @@ implementation
     M16c62pControlC,
     new StopModeControlC();
 
-  Init = PlatformP;
+  Init = PlatformP.Init;
   SubInit = PlatformP.SubInit;
   PlatformP.M16c62pControl -> M16c62pControlC;
 
   PlatformP.StopModeControl -> StopModeControlC;
 
 #ifdef ENABLE_STOP_MODE
-  components RV8564C, DS2782InternalC, MainC;
-  PlatformP.Boot -> MainC;
-  PlatformP.RTC -> RV8564C;
+  components HplRV8564C, DS2782InternalC, RealMainP;
+  RealMainP.SoftwareInit -> PlatformP.StopModeInit;
+  PlatformP.RTC -> HplRV8564C;
   PlatformP.HplDS2782 -> DS2782InternalC;
   PlatformP.DS2782Control -> DS2782InternalC;
 #endif