diff options
| -rw-r--r-- | src/irecovery.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irecovery.c b/src/irecovery.c index 95cd649..075ee79 100644 --- a/src/irecovery.c +++ b/src/irecovery.c | |||
| @@ -344,6 +344,11 @@ int main(int argc, char* argv[]) { | |||
| 344 | } | 344 | } |
| 345 | } | 345 | } |
| 346 | 346 | ||
| 347 | irecv_device_t device = NULL; | ||
| 348 | irecv_get_device(client, &device); | ||
| 349 | if (device) | ||
| 350 | debug("Connected to %s, model %s, cpid 0x%04x, bdid 0x%02x\n", device->product, device->model, device->chip_id, device->board_id); | ||
| 351 | |||
| 347 | switch (action) { | 352 | switch (action) { |
| 348 | case kResetDevice: | 353 | case kResetDevice: |
| 349 | irecv_reset(client); | 354 | irecv_reset(client); |
