From edfa7f654fc30f1cda887f08ab0556a0a3a95e71 Mon Sep 17 00:00:00 2001 From: w3irdrobot Date: Tue, 19 Nov 2024 11:23:41 -0500 Subject: [PATCH] remove reopening of port after flashing --- src/components/LandingHero.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/LandingHero.tsx b/src/components/LandingHero.tsx index dff3e91..d1b24e7 100644 --- a/src/components/LandingHero.tsx +++ b/src/components/LandingHero.tsx @@ -289,15 +289,6 @@ export default function LandingHero() { setStatus('Flashing completed. Restarting device...') await loader.hardReset() - // Reopen port for normal operation - await serialPortRef.current.open({ - baudRate: 115200, - dataBits: 8, - stopBits: 1, - parity: 'none', - flowControl: 'none' - }); - setStatus('Flashing completed successfully! Device has been restarted.') } catch (error) { console.error('Flashing failed:', error)