From a02d24b6cb49db9db87e9d76d16c131c0b259463 Mon Sep 17 00:00:00 2001 From: Alejandro Parcet Gonzalez Date: Wed, 10 Jul 2024 10:30:32 +0200 Subject: [PATCH 1/2] added delays when resseting Defy Neuron Signed-off-by: Alejandro Parcet Gonzalez --- src/api/flash/defyFlasher/NRf52833-flasher.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/flash/defyFlasher/NRf52833-flasher.ts b/src/api/flash/defyFlasher/NRf52833-flasher.ts index 80f6318c5..2fb03747c 100644 --- a/src/api/flash/defyFlasher/NRf52833-flasher.ts +++ b/src/api/flash/defyFlasher/NRf52833-flasher.ts @@ -22,6 +22,7 @@ import { serialConnection, rawCommand, noWaitCommand } from "../serialConnection import { PACKET_SIZE, TYPE_DAT, TYPE_ELA, TYPE_ESA } from "../flasherConstants"; import { HexType } from "../types"; import ihexDecode from "../ihexDecode"; +import { delay } from "../delay"; let serialPort; @@ -160,7 +161,9 @@ const NRf52833 = { try { // START APPLICATION + await delay(300); noWaitCommand("S#", serialPort); + await delay(300); if (ans[0] !== 65) log.warn("warning when disconnecting"); } catch (error) { log.warn(error); From 77a668935e1e81a38b830c75aebc346093b19587 Mon Sep 17 00:00:00 2001 From: Alejandro Parcet Gonzalez Date: Wed, 10 Jul 2024 11:36:42 +0200 Subject: [PATCH 2/2] chore: upped Bazecor version to 1.4.0 stable Signed-off-by: Alejandro Parcet Gonzalez --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6802fb746..db2b1632f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Bazecor", "productName": "Bazecor", - "version": "1.4.0-rc.6", + "version": "1.4.0", "description": "Bazecor desktop app", "private": true, "repository": {