diff options
Diffstat (limited to 'libirecovery.c')
| -rw-r--r-- | libirecovery.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c index c186f41..a323386 100644 --- a/libirecovery.c +++ b/libirecovery.c | |||
| @@ -1151,7 +1151,7 @@ irecv_error_t irecv_get_device(irecv_client_t client, irecv_device_t* device) { | |||
| 1151 | break; | 1151 | break; |
| 1152 | 1152 | ||
| 1153 | case CPID_IPAD1G: | 1153 | case CPID_IPAD1G: |
| 1154 | // iPhone3,1 iPad4,1 and iPad1,1 all share the same ChipID | 1154 | // iPhone3,1 iPhone3,3 iPad4,1 and iPad1,1 all share the same ChipID |
| 1155 | // so we need to check the BoardID | 1155 | // so we need to check the BoardID |
| 1156 | if (irecv_get_bdid(client, &bdid) < 0) { | 1156 | if (irecv_get_bdid(client, &bdid) < 0) { |
| 1157 | break; | 1157 | break; |
| @@ -1174,6 +1174,10 @@ irecv_error_t irecv_get_device(irecv_client_t client, irecv_device_t* device) { | |||
| 1174 | device_id = DEVICE_APPLETV2; | 1174 | device_id = DEVICE_APPLETV2; |
| 1175 | break; | 1175 | break; |
| 1176 | 1176 | ||
| 1177 | case BDID_IPHONE42: | ||
| 1178 | device_id = DEVICE_IPHONE42; | ||
| 1179 | break; | ||
| 1180 | |||
| 1177 | default: | 1181 | default: |
| 1178 | device_id = DEVICE_UNKNOWN; | 1182 | device_id = DEVICE_UNKNOWN; |
| 1179 | break; | 1183 | break; |
