Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default configuration for usb0 #1604

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

patrickelectric
Copy link
Member

No description provided.

…tions on constructor

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Comment on lines +58 to +59
for config in default_configs:
self.set_configuration(config)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

improve performance by 10x:

Suggested change
for config in default_configs:
self.set_configuration(config)
[self.set_configuration(config) for config in default_configs]

just kidding

@patrickelectric patrickelectric merged commit 7b47184 into bluerobotics:master Apr 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants