mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
usb: f_mass_storage: sleep_thread: decrease the interval for check ctrlc()
This change decreases the interval of calls to: - display busy indicator - check ctrlc() - check cable connection By this change, breaking the UMS command is more easy on Odroid XU3. Signed-off-by: Inha Song <ideal.song@samsung.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
cac178781d
commit
075020abbf
@ -671,7 +671,7 @@ static int sleep_thread(struct fsg_common *common)
|
|||||||
if (common->thread_wakeup_needed)
|
if (common->thread_wakeup_needed)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (++i == 50000) {
|
if (++i == 20000) {
|
||||||
busy_indicator();
|
busy_indicator();
|
||||||
i = 0;
|
i = 0;
|
||||||
k++;
|
k++;
|
||||||
|
Loading…
Reference in New Issue
Block a user