crappy hacks to disable pin code on x86 platforms while silencing gcc
[matches/MCTX3420.git] / server / sensor.c
index 8e4773f..bfa8b66 100644 (file)
@@ -225,6 +225,7 @@ bool Sensor_Read(Sensor * s, DataPoint * d)
                        break;
                case DIGITAL_REALTEST:
                {
+                       d->value = 0; //d->value must be something... valgrind...
                // Can pass pin as argument, just using 20 as an example here
                // Although since pins will be fixed, can just define it here if we need to
                        //d->value = pinRead(20);       //Pin 20 on the Beaglebone

UCC git Repository :: git.ucc.asn.au