From 4aeb0ab80fee07b2e025a4a5be6c770cfb7e0798 Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Fri, 15 Feb 2019 15:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E5=BD=93?= =?UTF-8?q?=20char=20=E6=9C=89=E7=AC=A6=E5=8F=B7=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=A7=8B=E7=BB=88=E6=88=90=E7=AB=8B=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- port/mphalport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/mphalport.c b/port/mphalport.c index 94a334e..48b4046 100644 --- a/port/mphalport.c +++ b/port/mphalport.c @@ -37,7 +37,7 @@ int mp_hal_stdin_rx_chr(void) { char ch; while (1) { ch = rtt_getchar(); - if (ch != 0xFF) { + if (ch != (char)0xFF) { break; } MICROPY_EVENT_POLL_HOOK;