]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - doc/txt/tep115.txt
Finalised version of tep115
[tinyos-2.x.git] / doc / txt / tep115.txt
index f224d458afc3eb25655a0ca3bdf7cc4e7b25ed4d..af27a1c3ed7e02b89ecd9de8fe995098fab40699 100644 (file)
@@ -485,9 +485,9 @@ according to the *implicitly power management* model could be built as shown bel
     provides {
       interface Init;
       interface SplitControl;
-         interface Resource;
-         interface FlashCommands;
-         ...
+      interface Resource;
+      interface FlashCommands;
+      ...
     }
   }
   implementation {
@@ -496,11 +496,11 @@ according to the *implicitly power management* model could be built as shown bel
 
   generic module PowerManagerC(uint8_t POWERDOWN_DELAY) {
     provides {
-         interface Init;
+      interface Init;
     }
     uses {
-         interface SplitControl;
-         interface ResourceDefaultOwner;
+      interface SplitControl;
+      interface ResourceDefaultOwner;
     }
   }
   implementation {
@@ -511,15 +511,15 @@ according to the *implicitly power management* model could be built as shown bel
   #define MYFLASH_POWERDOWN_DELAY      1000
   configuration MyFlashC {
     provides {
-         interface Init;
-         interface Resource;
-         interface FlashCommands;
+      interface Init;
+      interface Resource;
+      interface FlashCommands;
     }
   }
   implementation {
     components new PowerManagerC(MYFLASH_POWERDOWN_DELAY)
-       , FcfsArbiter(MYFLASH_RESOURCE)
-       , MyFlashP;
+    , FcfsArbiter(MYFLASH_RESOURCE)
+    , MyFlashP;
 
     Init = MyFlashP;
     Resource = FcfsArbiter;