@libs-scripts-mep/grav-fw-pvi 4.0.3 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/grav-fw-pvi.js +1 -3
  2. package/package.json +1 -1
package/grav-fw-pvi.js CHANGED
@@ -362,16 +362,14 @@ export default class GravaFW {
362
362
  } else if (info.includes("Serial port")) {
363
363
  const splittedInfo = info.split(" ")
364
364
  tryingPorts.push(splittedInfo[2])
365
- UI.setMsg(`Tentando gravar na porta ${splittedInfo[2]}`)
366
365
 
367
- } else if (info.includes("failed to connect")) {
366
+ } else if (info.includes("Failed to connect")) {
368
367
  if (tryingPorts.length >= portsFound) {
369
368
  FWLink.PVIEventObserver.remove(id)
370
369
  resolve({ success: false, msg: "Gravador não conseguiu se conectar com o ESP32", AddressFilePath: AddressFilePath }); return
371
370
  }
372
371
 
373
372
  } else if (info.includes("%")) {
374
- UI.setMsg(info)
375
373
 
376
374
  } else if (info.includes("Hard resetting via RTS pin...")) {
377
375
  sessionStorage.getItem(sessionStorageTag) == null ? sessionStorage.setItem(sessionStorageTag, tryingPorts.pop()) : null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libs-scripts-mep/grav-fw-pvi",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Auxilia na gravação de microcontroladores por linha de comando através do PVI",
5
5
  "main": "grav-fw-pvi.js",
6
6
  "scripts": {