Skip to content

Commit 43f9e65

Browse files
committed
fix(ble): apdu through ble
1 parent 59e130f commit 43f9e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledgerblue/BleComm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def _read(mtu) -> bytes:
122122
total_size = int.from_bytes(response[3:5], "big")
123123

124124
total_size_bkup = total_size
125-
if total_size >= (mtu - 5):
125+
if total_size > (mtu - 5):
126126
apdu = response[5:mtu]
127127
total_size -= mtu - 5
128128

0 commit comments

Comments
 (0)