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

Use std::optional<T*> for resource lists #14

Open
kammce opened this issue Oct 20, 2024 · 0 comments
Open

Use std::optional<T*> for resource lists #14

kammce opened this issue Oct 20, 2024 · 0 comments
Labels
💳 technical debt Shortcuts taken before that must be fixed later

Comments

@kammce
Copy link

kammce commented Oct 20, 2024

And also pass the resource list by reference to the initialize_platform(). This allows the members of the resource list to be set as they are made available. This is helpful as it allows for things like the steady clock, status led, and serial communication to be set before anything else allowing you resources that can help you debug like generating logs with useful information about what failed, etc.

@kammce kammce added the 💳 technical debt Shortcuts taken before that must be fixed later label Oct 20, 2024
@kammce kammce mentioned this issue Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💳 technical debt Shortcuts taken before that must be fixed later
Projects
None yet
Development

No branches or pull requests

1 participant