Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
sasilva1998 committed Oct 7, 2021
1 parent 01896c8 commit 255b0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uros/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _advertise_topic(self, topic_name, _id, msg, endpoint, buffer_size):
self.uart.write(bytearray(fpacket))

def _advertise_all_topics(self):
for key, value in self.advertised_topics:
for key, value in self.advertised_topics.items():
self._advertise_topic(key, value[0], value[1], value[2], value[3])

def publish(self, topic_name, msg, buffer_size=1024):
Expand Down

0 comments on commit 255b0b5

Please sign in to comment.