8000 Rollback text search · arduino/micropython.js@a75691f · GitHub
[go: up one dir, main page]

Skip to content

Commit a75691f

Browse files
committed
Rollback text search
1 parent 5dcc215 commit a75691f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

micropython.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ class MicroPythonBoard {
121121
await this.serial.write(Buffer.from(`\r\x01`))
122122

123123
let data = await this.read_until({
124-
ending: Buffer.from(`raw REPL; CTRL-B to exit`),
124+
ending: Buffer.from(`raw REPL; CTRL-B to exit\r\n`),
125125
timeout: timeout
126126
})
127127

128-
if (data.indexOf(`raw REPL; CTRL-B to exit`) !== -1) {
128+
if (data.indexOf(`raw REPL; CTRL-B to exit\r\n`) !== -1) {
129129
this.in_raw_repl = true
130130
return resolve()
131131
} else {

0 commit comments

Comments
 (0)
0