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 a new header pci.ids.h with the content of scripts/pcs.ids to avoid reading the file in runtime #60 #81

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

facug91
Copy link
Contributor

@facug91 facug91 commented Mar 13, 2024

I know this may not be the best solution, but it's simple and until something better comes along, I think it's good enough.
If you think otherwise, just reject the pr, no problem :)
#60

Copy link
Owner

@lfreist lfreist left a comment

Choose a reason for hiding this comment

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

I think, the function name should be get_pci_ids instead of get_pcs_ids

src/PCIMapper.cpp Outdated Show resolved Hide resolved
include/hwinfo/utils/pci.ids.h Outdated Show resolved Hide resolved
@facug91
Copy link
Contributor Author

facug91 commented Mar 14, 2024

Yeah, my bad, sorry. It's fixed now :)

@lfreist lfreist merged commit 5f01b5a into lfreist:main Mar 15, 2024
4 of 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.

2 participants