That's being handled indrectly by the BitVectors.
implementation {
enum { CLIENTS = uniqueCount(resourceName) };
- components new SharedArbiterP(CLIENTS);
+ components new SharedArbiterP();
Resource = SharedArbiterP;
ResourceDefaultOwner = SharedArbiterP;
ArbiterInfo = SharedArbiterP;
* switched subsystem. For example, a communications bus that can handle IO
* for multiple clients simultaneously, but is powered down when not in use.
*
- * p_dfltOwnerId = uniqueCount() use by the resource. see SharedArbiterC
- *
* @author R. Steve McKown <rsmckown@gmail.com>
*/
-generic module SharedArbiterP(uint8_t p_dfltOwnerId) {
+generic module SharedArbiterP() {
provides {
interface Init;
interface Resource[uint8_t id];