Browse Source

stmhal: Change type of received chr from char to int.

pull/1108/head
Damien George 10 years ago
parent
commit
5351a48185
  1. 2
      stmhal/pyexec.c

2
stmhal/pyexec.c

@ -127,7 +127,7 @@ raw_repl_reset:
vstr_reset(&line);
stdout_tx_str(">");
for (;;) {
char c = stdin_rx_chr();
int c = stdin_rx_chr();
if (c == CHAR_CTRL_A) {
// reset raw REPL
goto raw_repl_reset;

Loading…
Cancel
Save