diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h index 133e9c8102..d908d80ec4 100644 --- a/keyboards/planck/planck.h +++ b/keyboards/planck/planck.h @@ -3,7 +3,7 @@ #include "quantum.h" -//#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise) +#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise) #ifdef __AVR__ #define LAYOUT_planck_mit( \ diff --git a/keyboards/planck/rev6/matrix.c b/keyboards/planck/rev6/matrix.c index 1e41243083..2df588cefc 100644 --- a/keyboards/planck/rev6/matrix.c +++ b/keyboards/planck/rev6/matrix.c @@ -90,6 +90,7 @@ uint8_t matrix_scan(void) { dip_update(i, dip_switch[i]); } memcpy(last_dip_switch, dip_switch, sizeof(&dip_switch)); + // actual matrix for (int col = 0; col < MATRIX_COLS; col++) { matrix_row_t data = 0; diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index a811b5eeb6..ab293ff208 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c @@ -889,28 +889,6 @@ uint8_t decrement( uint8_t value, uint8_t step, uint8_t min, uint8_t max ) { // } // } -void rgb_matrix_test_led( uint8_t index, bool red, bool green, bool blue ) { - for ( int i=0; i