From: Callum Date: Sun, 8 Sep 2013 11:45:06 +0000 (+0800) Subject: Simple safety check X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=23527ab958930228afd9b4dbf3960658638117a2;p=matches%2FMCTX3420.git Simple safety check --- diff --git a/server/sensor.h b/server/sensor.h index 8ae5660..4c9de1b 100644 --- a/server/sensor.h +++ b/server/sensor.h @@ -14,6 +14,13 @@ /** Number of sensors **/ #define NUMSENSORS 4 +/** Safety Values for sensors **/ +#define ANALOG_TEST0_SAFETY 1000 +#define ANALOG_TEST1_SAFETY 1000 +#define DIGITAL_TEST0_SAFETY 1 +#define DIGITAL_TEST1_SAFETY 1 + + typedef enum SensorId { ANALOG_TEST0, ANALOG_TEST1,