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 full_reset_and_init return value in init and reset_learned #2393

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

gullradriel
Copy link
Member

When searching for code, I stumbled upon battery code that is not using the return value of a function.

Here is the fixed code.

Please discuss and validate if we have to check that return value, or if we should make it a void instead of a book.

@gullradriel gullradriel marked this pull request as draft November 24, 2024 18:28
@gullradriel gullradriel marked this pull request as ready for review November 24, 2024 20:27
@gullradriel gullradriel requested review from jLynx and htotoo November 24, 2024 20:27
@jLynx jLynx merged commit 3dcfa4f into portapack-mayhem:next Nov 25, 2024
3 checks passed
@gullradriel gullradriel deleted the i2cdev-returnvalue-fix branch November 26, 2024 17:20
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