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

[PluginID] Add support for over 255 pluginIDs #5083

Open
wants to merge 27 commits into
base: mega
Choose a base branch
from

Conversation

TD-er
Copy link
Member

@TD-er TD-er commented Jul 8, 2024

Since we're getting close to the current hard limit of 255 plugin IDs, it is time to start implementing support for over 255 plugins in such a way that it is fully compatible with existing builds and settings.

ToDo:

  • Actually store the higher pluginID counts in the Settings file
  • Adding some compile-time checks
  • Testing

TD-er added 27 commits July 8, 2024 15:05
GPS is one of the very few use cases, where the resolution of a float is not enough.
A float only has a resolution of 6 decimals.
However, when you are located at a location where the latitude or longitude requires 2 or 3 decimal places to represent the degrees, not a lot of resolution is left to pinpoint the actual position.

Before this fix, the standard deviation of my position (53 degree North, 6 East) was about 15 - 20 meters on a stationary GPS module.
With this fix, the standard deviation is about 5 meter for the same stationary GPS modules.
TaskValueData_t is now forced 32-bit aligned to fix other issues, so we must copy it byte aligned to/from the p2p struct.
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.

1 participant