From 0927e2e510f8bc5eafbd38ec9eec84a3747f44c1 Mon Sep 17 00:00:00 2001 From: Liu_Weichao Date: Fri, 22 Jul 2022 19:14:04 +0800 Subject: [PATCH] fix usb filesystem bug --- Ubiquitous/XiZi/tool/shell/letter-shell/shell.c | 3 --- 1 file changed, 3 deletions(-) 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); } } }