Make ftdi_read_eeprom_location() endianess independent
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 10 Jun 2016 11:58:32 +0000 (13:58 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 15 Jun 2016 14:58:39 +0000 (16:58 +0200)
commit1a3cb7f83149a08e3d463d7d24d50499b035a149
tree9dac1d8680c682f72ece70cc0056a4c5c9fe800d
parent6f9f969dc7e359296e562ee9731081cefaf06b20
Make ftdi_read_eeprom_location() endianess independent

Read 16-bit integer as two byte array and combine these two bytes
to unsigned short.
src/ftdi.c