Simplify send_cmd in gadgetbridge.py
Signed-off-by: Eloi Torrents <eloitor@disroot.org>
This commit is contained in:
parent
92ffa7cd1c
commit
410b9da55f
1 changed files with 4 additions and 5 deletions
|
@ -70,9 +70,8 @@ def GB(cmd):
|
|||
|
||||
def send_cmd(cmd = ''):
|
||||
print('\r')
|
||||
for i in range(1):
|
||||
for i in range(0, len(cmd), 20):
|
||||
print(cmd[i: i + 20], end='')
|
||||
time.sleep(0.2)
|
||||
print(' ')
|
||||
for i in range(0, len(cmd), 20):
|
||||
print(cmd[i: i + 20], end='')
|
||||
time.sleep(0.2)
|
||||
print(' ')
|
||||
print(' ')
|
Loading…
Reference in a new issue