X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Factuator.h;h=48e0f29bc03725ac01d6a0a8b39f6903a21ac2b4;hb=989a1d2ff5f5afc20f78738f57cc829ae9d11e99;hp=81150e8bac8fa164be6e5846cf3e0618646a1bc9;hpb=01d1e74d5b4cefd75d9ff4a5a2a404a71a225712;p=matches%2FMCTX3420.git diff --git a/server/actuator.h b/server/actuator.h index 81150e8..48e0f29 100644 --- a/server/actuator.h +++ b/server/actuator.h @@ -14,13 +14,14 @@ // Might be OK in C++ but not easy in C /** Number of actuators **/ -#define NUMACTUATORS 2 +#define NUMACTUATORS 3 /** List of actuator ids (should be of size NUMACTUATORS) **/ typedef enum { ACTUATOR_TEST0, - ACTUATOR_TEST1 + ACTUATOR_TEST1, + ACTUATOR_TEST2 } ActuatorId; /** Human readable names for the Actuators **/ @@ -52,8 +53,6 @@ typedef struct pthread_cond_t cond; /** Indicates whether the Actuator is running **/ bool activated; - /** Indicates whether the Actuator can be actuated or not **/ - bool allow_actuation; } Actuator;