Merge branch 'master' of github:/szmoore/MCTX3420
authorSam Moore <[email protected]>
Sun, 22 Sep 2013 04:04:49 +0000 (12:04 +0800)
committerSam Moore <[email protected]>
Sun, 22 Sep 2013 04:04:49 +0000 (12:04 +0800)
1  2 
server/actuator.c
server/sensor.c

Simple merge
diff --cc server/sensor.c
@@@ -138,8 -144,9 +144,9 @@@ void Sensor_CheckData(SensorId id, doub
  {
        if( value > thresholds[id].max_error || value < thresholds[id].min_error)
        {
 -              Log(LOGERR, "Sensor %s is above or below its safety value of %f or %f\n", g_sensor_names[id],thresholds[id].max_error, thresholds[id].min_error);
 +              Log(LOGERR, "Sensor %s at %f is above or below its safety value of %f or %f\n", value, g_sensor_names[id],thresholds[id].max_error, thresholds[id].min_error);
                //new function that stops actuators?
+               //Control_SetMode(CONTROL_EMERGENCY, NULL)
        }
        else if( value > thresholds[id].max_warn || value < thresholds[id].min_warn)
        {

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