Commit b3d77922 authored by Philippe Kalaf's avatar Philippe Kalaf

Disable average pressure counting for now

parent aae02739
Pipeline #41768200 failed with stages
in 50 seconds
......@@ -361,7 +361,6 @@ void BrewControl::_brew_worker()
_shot_clock.reset();
_state = BREWING;
_stop_preinfuse = 0;
_pressure_sensor.start_count();
}
_brew_worker_mutex.unlock();
......
......@@ -60,7 +60,7 @@ void PressureSensor::start_count()
{
_read_count = 0;
_average_pressure = 0;
//_ticker.attach(callback(this, &PressureSensor::worker), 0.1);
_ticker.attach(callback(this, &PressureSensor::worker), 0.1);
}
float PressureSensor::stop_count()
......
Markdown is supported
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