Skip to content

Commit

Permalink
updated index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandromrc committed Apr 3, 2023
1 parent cb4140e commit 0236572
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions reset_rp2040/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const { SerialPort } = require('serialport')
const drivelist = require('drivelist');

async function Main() {
if (process.argv.length > 2) {
const drives = await drivelist.list();
let driveList = [];
const port = new SerialPort({
path: process.argv[2],
baudRate: 1200,
Expand Down
1 change: 0 additions & 1 deletion reset_rp2040/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"drivelist": "^11.0.0",
"serialport": "^10.4.0"
}
}

0 comments on commit 0236572

Please sign in to comment.