Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
refactor: Tidy up sensor discovery #5550
DO NOT DELETE THIS TEXT
Initial start at cleaning up sensor discovery.
We now no longer cycle through all include files and instead only process files that exist for the device group, device os or rfc1628.
Some files have been moved around so they are named correctly after the OS, removed because the code was moved to another file or duplicated code because it needed to run on more than one OS but no shared group.
It may give a slight performance increase because it's not looping through all the files but that wasn't the aim of the PR. It's done so that the code is simplified and not including lots of files.