Skip to content

Commit

Permalink
build issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Jun 4, 2024
1 parent 51ce97c commit dabde72
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 @@ -359,8 +359,8 @@ class MMR920 {
}

if (echo_this_time) {
#ifdef USE_SENSOR_MOVE
auto response_pressure = pressure - current_pressure_baseline_pa;
#ifdef USE_SENSOR_MOVE
if (pressure_buffer_index < SENSOR_BUFFER_SIZE) {
(*p_buff).at(pressure_buffer_index) = response_pressure;
pressure_buffer_index++;
Expand Down

0 comments on commit dabde72

Please sign in to comment.