Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
main: Add debug to uevents
Browse files Browse the repository at this point in the history
  • Loading branch information
hadess committed Feb 15, 2017
1 parent 2ef0601 commit 83162f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/iio-sensor-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,9 @@ sensor_changes (GUdevClient *client,
{
guint i;

g_debug ("Sensor changes: action = %s, device = %s",
action, g_udev_device_get_sysfs_path (device));

if (g_strcmp0 (action, "remove") == 0) {
for (i = 0; i < NUM_SENSOR_TYPES; i++) {
GUdevDevice *dev = DEVICE_FOR_TYPE(i);
Expand Down

0 comments on commit 83162f1

Please sign in to comment.