Skip to content

Commit

Permalink
fix(sensors): reduce overpressure time to 250ms
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Sep 21, 2023
1 parent ad507bf commit a8ee5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sensors/core/tasks/pressure_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class MMR920C04 {
* Time required before raising a Max Pressure error. The pressure must
* exceed the threshold for the entirety of this period.
*/
static constexpr uint16_t MAX_PRESSURE_TIME_MS = 500;
static constexpr uint16_t MAX_PRESSURE_TIME_MS = 250;

mmr920C04::MeasurementRate measurement_mode_rate =
mmr920C04::MeasurementRate::MEASURE_4;
Expand Down

0 comments on commit a8ee5a4

Please sign in to comment.