Skip to content

Commit

Permalink
forgot to change an old reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Jun 25, 2024
1 parent 7a26107 commit 787b983
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 @@ -421,7 +421,7 @@ class MMR920 {
sensor_buffer->begin() + AUTO_BASELINE_START,
sensor_buffer->begin() + AUTO_BASELINE_END, 0) /
(AUTO_BASELINE_END - AUTO_BASELINE_START);
for (auto i = sensor_buffer_index - AUTO_BASELINE_SAMPLES;
for (auto i = sensor_buffer_index - AUTO_BASELINE_END;
i < sensor_buffer_index; i++) {
// apply the moving baseline to older samples to so that
// data is in the same format as later samples, don't apply
Expand Down

0 comments on commit 787b983

Please sign in to comment.