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

kbscan: Do not read matrix if lid is closed #426

Merged
merged 2 commits into from
Jan 4, 2024
Merged

kbscan: Do not read matrix if lid is closed #426

merged 2 commits into from
Jan 4, 2024

Commits on Jan 3, 2024

  1. kbscan: Do not read matrix if lid is closed

    Pull the lid check out to the loop to avoid accessing the matrix when we
    know we do not need the data. It is left in kbscan (instead of simply
    disabling reading) to clear the state of the matrix data.
    
    The lid check for wake is removed as it will never be true.
    
    Signed-off-by: Tim Crawford <[email protected]>
    crawfxrd committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    136d3e7 View commit details
    Browse the repository at this point in the history
  2. kbscan: Remove unused array

    Signed-off-by: Tim Crawford <[email protected]>
    crawfxrd committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    ce65a11 View commit details
    Browse the repository at this point in the history