Commit ee655973 authored by schneider's avatar schneider
Browse files

fix(max86150): Bring handling of full stream queue in line with MAX30001

The -EIO error was triggering a warning in the caller.
parent 16549137
...@@ -142,7 +142,6 @@ static int max86150_handle_sample(struct max86150_sensor_data *data) ...@@ -142,7 +142,6 @@ static int max86150_handle_sample(struct max86150_sensor_data *data)
LOG_WARN("max86150", "queue full"); LOG_WARN("max86150", "queue full");
} }
max86150_stream.was_full = true; max86150_stream.was_full = true;
return -EIO;
} else { } else {
max86150_stream.was_full = false; max86150_stream.was_full = false;
} }
......
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