mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update package/pikaRTThread/rt_pika.c.
This commit is contained in:
parent
a5291aaa52
commit
4a45750a5e
@ -60,7 +60,7 @@ static void pikascript_entry(void *parameter)
|
||||
strAppendWithSize(rxBuff, &inputChar, 1);
|
||||
continue;
|
||||
}
|
||||
if (inputChar == '\r') {
|
||||
if ( (inputChar == '\r') || (inputChar == '\n') ) {
|
||||
rt_kprintf("\r\n");
|
||||
if(strEqu("exit()", rxBuff)){
|
||||
/* exit pika shell */
|
||||
|
Loading…
x
Reference in New Issue
Block a user