mirror of
https://github.com/dbisu/pico-ducky.git
synced 2025-12-08 13:34:57 +00:00
Use pass instead of print("") (#16)
I dont know if it helps in performance but the output is more clean
This commit is contained in:
@@ -45,7 +45,7 @@ def sendString(line):
|
|||||||
def parseLine(line):
|
def parseLine(line):
|
||||||
if(line[0:3] == "REM"):
|
if(line[0:3] == "REM"):
|
||||||
# ignore ducky script comments
|
# ignore ducky script comments
|
||||||
print("")
|
pass
|
||||||
elif(line[0:5] == "DELAY"):
|
elif(line[0:5] == "DELAY"):
|
||||||
time.sleep(float(line[6:])/1000)
|
time.sleep(float(line[6:])/1000)
|
||||||
elif(line[0:6] == "STRING"):
|
elif(line[0:6] == "STRING"):
|
||||||
|
|||||||
Reference in New Issue
Block a user