Skip to content

Commit

Permalink
old use of shared_sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Aug 1, 2024
1 parent 1b65ab8 commit 64268c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sensors/core/tasks/capacitive_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FDC1004 {
if (sensor_id != _id) {
// we should always update the sensor id
sensor_id = _id;
if (shared_sensor) {
if (using_both_sensors) {
// if we're sharing the sensor, then we need to update
// the measure mode
if (_id == can::ids::SensorId::S1) {
Expand Down

0 comments on commit 64268c1

Please sign in to comment.