Commit 8e3543fc authored by Philippe Kalaf's avatar Philippe Kalaf

For some reason calling ticker.attach() from ISR isn't working, disabling...

For some reason calling ticker.attach() from ISR isn't working, disabling pressure average calculation for now
parent 81b8ba53
......@@ -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