Fix infinite recursion in checkerboards/quark_plus (#17616)

This commit is contained in:
Joel Challis 2022-07-10 23:44:56 +01:00 committed by GitHub
parent 2106acc24a
commit a5eeee4ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
#include "quark_plus.h"
bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_kb(index, clockwise)) { return false; }
if (!encoder_update_user(index, clockwise)) { return false; }
if (index == 1) { /* left encoder*/
if (clockwise){
tap_code(KC_WH_U);