mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_term: fix 100% cpu load after refactoring (thanks sergpolkin).
This commit is contained in:
parent
5f9c4a4ab4
commit
19fda3364a
1 changed files with 2 additions and 1 deletions
|
@ -496,7 +496,8 @@ def main():
|
||||||
term.console.configure()
|
term.console.configure()
|
||||||
try:
|
try:
|
||||||
term.start()
|
term.start()
|
||||||
while True: pass
|
while True:
|
||||||
|
time.sleep(0.1)
|
||||||
except:
|
except:
|
||||||
if bridge_cls is not None:
|
if bridge_cls is not None:
|
||||||
bridge.close()
|
bridge.close()
|
||||||
|
|
Loading…
Reference in a new issue