Skip to content

Commit

Permalink
fix(autoreset): fixed naming of autoreset LED Object.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Lukas committed May 31, 2024
1 parent e66a980 commit e9da446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/avrdude/autoreset
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)
dtr = re.compile('.+TIOCM_DTR.+')
start = time.time()
pin = 4
reset = LED(pin)
reset_trigger = LED(pin)


def reset():
reset.on()
reset_trigger.on()
time.sleep(0.12)
reset.off()
reset_trigger.off()


def process():
Expand Down

0 comments on commit e9da446

Please sign in to comment.