sinowealth: print profile index

This commit is contained in:
Yaroslav Chvanov
2022-01-29 05:06:49 +03:00
committed by Peter Hutterer
parent 268ccab111
commit 944c4f0af5

View File

@@ -678,6 +678,10 @@ sinowealth_probe(struct ratbag_device *device)
goto err;
}
rc = sinowealth_get_active_profile(device);
if (rc >= 0)
log_debug(device->ratbag, "Current profile index: %d\n", rc);
ratbag_profile_unref(profile);
return 0;