Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Implemented closeAllPorts
  • Loading branch information
csarnataro committed Apr 24, 2022
commit 7f375cf6664cfd795c7f61fb3099392fc13f87c0
1 change: 1 addition & 0 deletions es/web-serial-daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ var WebSerialDaemon = /*#__PURE__*/function (_Daemon) {
key: "closeAllPorts",
value: function closeAllPorts() {
console.log('should be closing serial ports here');
this.uploader.closeAllPorts();
}
/**
* Request serial port open
Expand Down
1 change: 1 addition & 0 deletions src/web-serial-daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default class WebSerialDaemon extends Daemon {
// eslint-disable-next-line class-methods-use-this
closeAllPorts() {
console.log('should be closing serial ports here');
this.uploader.closeAllPorts();
}

/**
Expand Down