Skip to content

Commit

Permalink
fixed count init
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Apr 10, 2023
1 parent b8fae32 commit ae710ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dronecan_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class BridgeThread(object):
def __init__(self, d1, d2, name):
self.d1 = d1
self.d2 = d2
self.count = 0
self.thd = threading.Thread(target=self.loop, name=name)
self.thd.start()
self.count = 0

def loop(self):
while True:
Expand Down

0 comments on commit ae710ec

Please sign in to comment.