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

Fix encoder_init call order in keyboard_init #19140

Merged
merged 1 commit into from
Nov 26, 2022

Commits on Nov 26, 2022

  1. Fix call order of encoder_init in keyboard_init

    encoder_init initializes thisCount which is used in encoder_state_raw
    memcpy. quantum_init was calling encoder_state_raw though the
    initialization of bootmatgic calling matrix_scan. This caused undefined
    behavior resulting in bad values being sent over transport. Adjusting
    the call order of encoder_init allows for correct behavior of
    encoder_state_raw
    chrishoage committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    8a62d2c View commit details
    Browse the repository at this point in the history