Skip to content

Commit 48881ce

Browse files
committed
Use better name for callback
1 parent bc53b85 commit 48881ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/arduino/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async function store(state, emitter) {
180180
term.write(data)
181181
term.scrollToBottom()
182182
})
183-
serial.onDisconnect(() => emitter.emit('disconnect'))
183+
serial.onConnectionLost(() => emitter.emit('disconnect'))
184184

185185
emitter.emit('close-connection-dialog')
186186
emitter.emit('refresh-files')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy