summaryrefslogtreecommitdiffstats
path: root/tools/irecovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 23:36:27 +0200
committerGravatar Martin Szulecki2013-09-26 23:36:27 +0200
commit3475c29642b2d824b86848ab81ef300d0f15e1f6 (patch)
tree2b4ddbafc260c331e2ed5d35a8b16e0db8c7e6ce /tools/irecovery.c
parent7f721d5a6ce397e045d1bbcf6b895d886dfc7bf5 (diff)
downloadlibirecovery-3475c29642b2d824b86848ab81ef300d0f15e1f6.tar.gz
libirecovery-3475c29642b2d824b86848ab81ef300d0f15e1f6.tar.bz2
Reorder public interface logically and rename irecv_get_device()
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r--tools/irecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index 7945598..32e9f9f 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -345,7 +345,7 @@ int main(int argc, char* argv[]) {
}
irecv_device_t device = NULL;
- irecv_get_device(client, &device);
+ irecv_devices_get_device_by_client(client, &device);
if (device)
debug("Connected to %s, model %s, cpid 0x%04x, bdid 0x%02x\n", device->product, device->model, device->chip_id, device->board_id);