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

Fp set context #8

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Fp set context #8

merged 2 commits into from
Dec 20, 2024

Conversation

ChocolateLoverRaj
Copy link
Contributor

I can rebase to not include #7 if that's preferred.

Needed for successful fingerprint template uploading on many Chromebooks

/// Make sure that the fp mode is Reset before setting the context
/// Related: https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/biod/cros_fp_device.cc#660
pub fn fp_set_context<File: AsRawFd>(file: &mut File, user_id: UserId) -> EcCmdResult<()> {

Check warning

Code scanning / clippy

this function depends on never type fallback being () Warning

this function depends on never type fallback being ()
@lleyton lleyton merged commit d7d124b into FyraLabs:main Dec 20, 2024
4 checks passed
@ChocolateLoverRaj ChocolateLoverRaj deleted the fp-set-context branch December 20, 2024 22:33
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