]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/SharedArbiterC.nc
SharedArbiterP doesn't need to know the number of clients.
[tinyos-2.x.git] / tos / system / SharedArbiterC.nc
index 2e61d5cb06c268400e776c13dba0a1d8905e6a6a..8d1b618bd7646c157e3a1d94620ef3f8032a3a82 100644 (file)
@@ -45,7 +45,7 @@ generic configuration SharedArbiterC(char resourceName[]) {
 implementation {
   enum { CLIENTS = uniqueCount(resourceName) };
 
-  components new SharedArbiterP(CLIENTS);
+  components new SharedArbiterP();
   Resource = SharedArbiterP;
   ResourceDefaultOwner = SharedArbiterP;
   ArbiterInfo = SharedArbiterP;