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

orb-mcu-util: don't fail on build #118

Merged
merged 4 commits into from
Jun 11, 2024
Merged

orb-mcu-util: don't fail on build #118

merged 4 commits into from
Jun 11, 2024

Conversation

fouge
Copy link
Collaborator

@fouge fouge commented Jun 4, 2024

when fetching data, don't fail
but prefer unfilled struct

@TheButlah i'd like your thought on this kind of construct. I think it's fine not to fail when fetching the data so that we can at least print the pieces of info that were fetched.

@fouge fouge requested a review from TheButlah June 4, 2024 08:12
@fouge fouge force-pushed the fouge/mcu-util-dont-fail branch from 51b5b73 to 6762d86 Compare June 4, 2024 08:12
when fetching data, don't fail
but prefer unfilled struct
@fouge fouge force-pushed the fouge/mcu-util-dont-fail branch from 6762d86 to a114f8f Compare June 4, 2024 12:04
Copy link
Collaborator

@TheButlah TheButlah left a comment

Choose a reason for hiding this comment

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

I like the general approach, left some requests to be more explicit about the partial initialization.

mcu-util/src/orb/main_board.rs Outdated Show resolved Hide resolved
mcu-util/src/orb/main_board.rs Show resolved Hide resolved
mcu-util/src/orb/security_board.rs Outdated Show resolved Hide resolved
@TheButlah TheButlah enabled auto-merge (squash) June 11, 2024 18:53
@TheButlah TheButlah merged commit 852886e into main Jun 11, 2024
9 checks passed
@TheButlah TheButlah deleted the fouge/mcu-util-dont-fail branch June 11, 2024 18:55
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