Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
d8b47d3e
Commit
d8b47d3e
authored
Apr 03, 2014
by
Damien George
Browse files
stmhal: Fix raw REPL so that it passes through more ASCII chars.
parent
769b23a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/pyexec.c
View file @
d8b47d3e
...
...
@@ -120,9 +120,8 @@ raw_repl_reset:
}
else
if
(
c
==
VCP_CHAR_CTRL_D
)
{
// input finished
break
;
}
else
if
(
c
==
'\r'
)
{
vstr_add_char
(
&
line
,
'\n'
);
}
else
if
(
32
<=
c
&&
c
<=
126
)
{
}
else
if
(
c
<=
127
)
{
// let through any other ASCII character
vstr_add_char
(
&
line
,
c
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment