1
0
forked from drath/libratbag

Merge pull request #44 from bentiss/wip/rename_hidpp10_device_new_from_idx

hidpp10: rename hidpp10_device_new_from_idx into hidpp10_device_new
This commit is contained in:
Peter Hutterer
2015-10-21 12:53:40 +10:00
4 changed files with 7 additions and 24 deletions

View File

@@ -98,7 +98,7 @@ main(int argc, char **argv)
error(1, errno, "Failed to open path %s", path);
hidpp_device_init(&base, fd);
dev = hidpp10_device_new_from_idx(&base, WIRED_DEVICE_IDX);
dev = hidpp10_device_new(&base, WIRED_DEVICE_IDX);
if (argc == 2)
rc = dump_all_pages(dev);