mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: print profile index
This commit is contained in:
committed by
Peter Hutterer
parent
268ccab111
commit
944c4f0af5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user