removed errorPinAddTime
This commit is contained in:
parent
de4b47c350
commit
6fe78f069a
@ -251,7 +251,7 @@ while True: # main loop
|
||||
if GPIO.input(errorPin) == True:
|
||||
if errorAdded == False:
|
||||
errors += 1
|
||||
int_time = int(time.time()) - start_time + errors * timePerError
|
||||
int_time = int(time.time()) - start_time + errors * timePerError
|
||||
errorAdded = True
|
||||
else:
|
||||
errorAdded = False
|
||||
|
Loading…
Reference in New Issue
Block a user