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
5351a481
Commit
5351a481
authored
Feb 08, 2015
by
Damien George
Browse files
stmhal: Change type of received chr from char to int.
parent
f804833a
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/pyexec.c
View file @
5351a481
...
@@ -127,7 +127,7 @@ raw_repl_reset:
...
@@ -127,7 +127,7 @@ raw_repl_reset:
vstr_reset
(
&
line
);
vstr_reset
(
&
line
);
stdout_tx_str
(
">"
);
stdout_tx_str
(
">"
);
for
(;;)
{
for
(;;)
{
char
c
=
stdin_rx_chr
();
int
c
=
stdin_rx_chr
();
if
(
c
==
CHAR_CTRL_A
)
{
if
(
c
==
CHAR_CTRL_A
)
{
// reset raw REPL
// reset raw REPL
goto
raw_repl_reset
;
goto
raw_repl_reset
;
...
...
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