8000 Cleaning commented code · arduino/micropython.js@28fa5a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28fa5a6

Browse files
committed
Cleaning commented code
1 parent bbfca7b commit 28fa5a6

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

micropython.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,26 +110,14 @@ class MicroPythonBoard {
110110
}
111111

112112
follow(options) {
113-
const { timeout = null, data_consumer = false } = options || {}
113+
const { timeout = null } = options || {}
114114
return new Promise(async (resolve, reject) => {
115115
// wait for normal output
116116
const data = await this.read_until({
117117
ending: Buffer.from(`\x04`),
118118
timeout: timeout
119119
})
120-
// TODO: Slice out the EOF
121-
// console.log('normal output:', data)
122120
resolve(data)
123-
124-
// // wait for error output
125-
// const data_err = await this.read_until({
126-
// ending: Buffer.from(`\x04`),
127-
// timeout: timeout
128-
// })
129-
// // TODO: Slice out the EOF
130-
// console.log('error output:', data_err)
131-
//
132-
// resolve([data, data_err])
133121
})
134122
}
135123

@@ -217,11 +205,6 @@ class MicroPythonBoard {
217205
return Promise.reject()
218206
}
219207

220-
// TODO: When implementing command line
221-
// fs_get() {
222-
//
223-
// }
224-
225208
async fs_put(src, dest) {
226209
if (src) {
227210
const content = fs.readFileSync(path.resolve(src))

0 commit comments

Comments
 (0)
0