Commit 241974a4 authored by Robert Ricci's avatar Robert Ricci
Browse files

Oops, got left out of my last commit - MaxDelay now depends on

parent f16a253d
...@@ -213,11 +213,13 @@ void SensorList::pushMaxDelaySensor(void) ...@@ -213,11 +213,13 @@ void SensorList::pushMaxDelaySensor(void)
pushMinDelaySensor(); pushMinDelaySensor();
pushDelaySensor(); pushDelaySensor();
pushStateSensor(); pushStateSensor();
logWrite(SENSOR, "Adding MaxDelaySensor"); logWrite(SENSOR, "Adding MaxDelaySensor");
std::auto_ptr<Sensor> current(new MaxDelaySensor(depDelaySensor, std::auto_ptr<Sensor> current(new MaxDelaySensor(depDelaySensor,
depStateSensor, depStateSensor,
depMinDelaySensor)); depMinDelaySensor,
pushSensor(current); pushSensor(current);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment