mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: i2c 'firmware version prints correct'
This commit is contained in:
parent
b49eea5637
commit
d4e471092f
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ void I2C_print_status(void) {
|
||||||
uint8_t len = I2C_BufferRead(resp, 4, I2C_DEVICE_CMD_GETVERSION, I2C_DEVICE_ADDRESS_MAIN);
|
uint8_t len = I2C_BufferRead(resp, 4, I2C_DEVICE_CMD_GETVERSION, I2C_DEVICE_ADDRESS_MAIN);
|
||||||
DbpString("Smart card module (ISO 7816)");
|
DbpString("Smart card module (ISO 7816)");
|
||||||
if ( len )
|
if ( len )
|
||||||
Dbprintf(" FW version................v%x.%02x", resp[1], resp[2]);
|
Dbprintf(" FW version................v%x.%02x", resp[0], resp[1]);
|
||||||
else
|
else
|
||||||
DbpString(" FW version................FAILED");
|
DbpString(" FW version................FAILED");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue