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,7 +70,6 @@ def GB(cmd):
|
||||||
|
|
||||||
def send_cmd(cmd = ''):
|
def send_cmd(cmd = ''):
|
||||||
print('\r')
|
print('\r')
|
||||||
for i in range(1):
|
|
||||||
for i in range(0, len(cmd), 20):
|
for i in range(0, len(cmd), 20):
|
||||||
print(cmd[i: i + 20], end='')
|
print(cmd[i: i + 20], end='')
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
|
|
Loading…
Reference in a new issue