Skip to content

Commit

Permalink
Update rosbot_utils/rosbot_utils/flash-firmware.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki authored Jan 25, 2024
1 parent 9288427 commit 470e25c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rosbot_utils/rosbot_utils/flash-firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ def __init__(self, sys_arch, binary_file):
self.reset_pin = chip.request_lines(
{self.reset_pin_no: gpiod.LineSettings(Direction.OUTPUT)}
)
# gpiod.Chip("/dev/gpiochip0").get_line(self.boot0_pin_no, direction=gpiod.LINE_REQ_DIR_OUT)
# self.reset_pin = gpiod.Chip("/dev/gpiochip0").get_line(self.reset_pin_no, direction=gpiod.LINE_REQ_DIR_OUT)

def enter_bootloader_mode(self):
self.boot0_pin.set_value(self.boot0_pin_no, Value.ACTIVE)
Expand Down

0 comments on commit 470e25c

Please sign in to comment.