diff options
author | Martin Szulecki | 2013-01-09 15:32:15 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-01-09 15:32:15 +0100 |
commit | 3de0951516e462d8d438db4a0c3099c5ef308192 (patch) | |
tree | 88716639bd4da4d185d5c4011ae513af2d43d9f8 /irecovery.c | |
parent | 21ba76975546cbe1f95ea9c0fe98a9fd2adec35a (diff) | |
download | libirecovery-3de0951516e462d8d438db4a0c3099c5ef308192.tar.gz libirecovery-3de0951516e462d8d438db4a0c3099c5ef308192.tar.bz2 |
Improve maintainability of devices and add support for all current models
This removes all CPID_* and BDID_* defines which appear useless as the same
information is already stored in the irecv_devices[] struct. Furthermore this
removes a big inefficient switch() to determine a device in favor of a simple
loop on the irecv_devices[] struct. Overall this means much less maintainance
to add new device models in the future.
Diffstat (limited to 'irecovery.c')
0 files changed, 0 insertions, 0 deletions