Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
bellegarde-c committed Jan 26, 2025
1 parent 757f58d commit 72f2395
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iio-sensor-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ setup_sensors (SensorData *data)
{
data->proximity_sensor = std::make_shared<repowerd::SensorfwProximitySensor>(log,
the_dbus_bus_address());
data->prox_available = TRUE;
data->prox_available = FALSE;
}
catch (std::exception const &e)
{
Expand All @@ -748,7 +748,7 @@ setup_sensors (SensorData *data)
{
data->light_sensor = std::make_shared<repowerd::SensorfwLightSensor>(log,
the_dbus_bus_address());
data->light_available = TRUE;
data->light_available = FALSE;
}
catch (std::exception const &e)
{
Expand All @@ -760,7 +760,7 @@ setup_sensors (SensorData *data)
{
data->orientation_sensor = std::make_shared<repowerd::SensorfwOrientationSensor>(log,
the_dbus_bus_address());
data->accel_available = TRUE;
data->accel_available = FALSE;
}
catch (std::exception const &e)
{
Expand All @@ -772,7 +772,7 @@ setup_sensors (SensorData *data)
{
data->compass_sensor = std::make_shared<repowerd::SensorfwCompassSensor>(log,
the_dbus_bus_address());
data->compass_available = TRUE;
data->compass_available = FALSE;
}
catch (std::exception const &e)
{
Expand Down

0 comments on commit 72f2395

Please sign in to comment.