Merge pull request #1838 from jmichelp/master

Wait a bit longer for the smartcard.
This commit is contained in:
Iceman 2022-12-09 17:44:45 +01:00 committed by GitHub
commit 46ada2abd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,9 +235,9 @@ static bool I2C_WaitForSim(void) {
// 8051 speaks with smart card.
// 1000*50*3.07 = 153.5ms
// 1000*90*3.07 = 276.3ms
// 1000*110*3.07 = 337.7ms
// 1byte transfer == 1ms with max frame being 256bytes
return WaitSCL_H_delay(1000 * 90);
return WaitSCL_H_delay(1000 * 110);
}
// send i2c STOP