Browse Source

Fix communication error on app change for Windows and Linux

master
Thibaut Boustany 7 years ago
parent
commit
842e9c2eda
No known key found for this signature in database GPG Key ID: 32475B11A2B13EEC
  1. 2
      src/helpers/deviceAccess.js

2
src/helpers/deviceAccess.js

@ -41,7 +41,7 @@ export const withDevice: WithDevice = devicePath => job => {
refreshBusyUIState()
try {
// $FlowFixMe not sure what's wrong
const t = await retry(() => TransportNodeHid.open(devicePath), { maxRetry: 1 }).catch(
const t = await retry(() => TransportNodeHid.open(devicePath), { maxRetry: 2 }).catch(
mapError,
)
t.setDebugMode(logger.apdu)

Loading…
Cancel
Save