Skip to content

driver: cleanup of the Common and MAVCAN Drivers#92

Open
joshanne wants to merge 1 commit intodronecan:masterfrom
joshanne:pr/clean-up-dronecan-driver
Open

driver: cleanup of the Common and MAVCAN Drivers#92
joshanne wants to merge 1 commit intodronecan:masterfrom
joshanne:pr/clean-up-dronecan-driver

Conversation

@joshanne
Copy link
Copy Markdown
Collaborator

Removes duplicate methods. Corrects comments on methods. Marks statically used methods as such.

Removes duplicate methods. Corrects comments on methods. Marks statically used methods as such.
Comment thread dronecan/driver/common.py
pass

def get_filter_list(self, ids):
'''get list of message IDs to accept, None means accept all'''
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why did the parameters change?

Copy link
Copy Markdown
Collaborator Author

@joshanne joshanne Jan 12, 2026

Choose a reason for hiding this comment

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

I believe this looks to be a copy/paste error.

The get_filter_list function exists below with no additional parameters.
As far as I can tell, no other callers are making use of the get_filter_list while specifying additional parameters.

The only thing that should possibly be changed is to update the function comment to:

        '''get list of message IDs to accept, None means accept all'''

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.

2 participants