Diff between d8773c56f0bb11910117473aeadd41b4b36116b7 and 55a7d81123b795a64d5bdf909f421a6e66d4634a
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/hog.c | +4 | -0 | modified |
Full Patch
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 93e6566..cab70e9 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -647,6 +647,8 @@ static void attio_connected_cb(GAttrib *attrib, gpointer user_data)
struct gatt_primary *prim = hogdev->hog_primary;
GSList *l;
+ DBG("HoG connected");
+
hogdev->attrib = g_attrib_ref(attrib);
if (hogdev->reports == NULL) {
@@ -671,6 +673,8 @@ static void attio_disconnected_cb(gpointer user_data)
struct hog_device *hogdev = user_data;
GSList *l;
+ DBG("HoG disconnected");
+
for (l = hogdev->reports; l; l = l->next) {
struct report *r = l->data;