diff --git a/Ubiquitous/XiZi/tool/shell/letter-shell/shell.c b/Ubiquitous/XiZi/tool/shell/letter-shell/shell.c index 201178a12..b438110d1 100644 --- a/Ubiquitous/XiZi/tool/shell/letter-shell/shell.c +++ b/Ubiquitous/XiZi/tool/shell/letter-shell/shell.c @@ -1649,15 +1649,12 @@ void shellTask(void *param) if (shell->read) { memset(data, 0, KEY_LENGTH); data_len = 0; - x_base lock; data_len = shell->read(data); if(data_len > 0) { - int lock = CriticalAreaLock(); for (i = 0; i < data_len; i++) { shellHandler(shell, data[i]); } - CriticalAreaUnLock(lock); } } }