Raise the buffer size even more.
I was too conservative as it requires 261 bytes. Let's put 270 for the peace of mind.
This commit is contained in:
1 parent
9f589fed9a
commit
07a8f7a6de
1 file changed
+1
-1
+1
-1
@@ -54,7 +54,7 @@ static void __attribute__((optimize("O0"))) I2CSpinDelayClk(uint16_t delay) {
|
||||
#define I2C_DELAY_XCLK(x) I2CSpinDelayClk((x))
|
||||
|
||||
// The SIM module v4 supports up to 384 bytes for the length.
|
||||
#define ISO7816_MAX_FRAME 260
|
||||
#define ISO7816_MAX_FRAME 270
|
||||
|
||||
// try i2c bus recovery at 100kHz = 5us high, 5us low
|
||||
void I2C_recovery(void) {
|
||||
|
||||
Reference in new issue
Block a user